Commit 4247d2d8 authored by Dainius Simelevicius's avatar Dainius Simelevicius
Browse files

references #4217: Removing compilation warnings on CentOS


git-svn-id: file:///tmp/cmsos_migration/cmsos.svndb/trunk@29570 c528359e-2999-456a-ae53-7ba8edf254b3
parent 0427ffc3
// $Id: version.h,v 1.13 2009/04/27 13:26:05 gutleber Exp $
// $Id$
/*************************************************************************
* XDAQ Components for Distributed Data Acquisition *
* Copyright (C) 2000-2009, CERN. *
* Copyright (C) 2000-2016, CERN. *
* All rights reserved. *
* Authors: J. Gutleber and L. Orsini *
* Authors: J. Gutleber and L. Orsini *
* *
* For the licensing terms see LICENSE. *
* For the list of contributors see CREDITS. *
* For the licensing terms see LICENSE. *
* For the list of contributors see CREDITS. *
*************************************************************************/
#ifndef _sentinel_spotlightocci_version_h_
......@@ -19,9 +19,9 @@
#define SENTINELSPOTLIGHTOCCI_VERSION_MAJOR 3
#define SENTINELSPOTLIGHTOCCI_VERSION_MINOR 3
#define SENTINELSPOTLIGHTOCCI_VERSION_PATCH 2
#define SENTINELSPOTLIGHTOCCI_VERSION_PATCH 3
// If any previous versions available E.g. #define SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "3.8.0,3.8.1"
#define SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "3.0.3,3.0.4,3.0.5,3.1.0,3.1.1,3.2.0,3.3.0,3.3.1"
#define SENTINELSPOTLIGHTOCCI_PREVIOUS_VERSIONS "3.0.3,3.0.4,3.0.5,3.1.0,3.1.1,3.2.0,3.3.0,3.3.1,3.3.2"
//
......
......@@ -701,15 +701,6 @@ void sentinel::spotlightocci::Application::catalog(xgi::Input * in, xgi::Output
end.fromString((*fi).getValue(),"",toolbox::TimeVal::gmt);
}
// By default limit the maximum number of results to output to 1000
//
fi = cgi.getElement("maxResults");
size_t maxResults = 1000;
if (fi != cgi.getElements().end())
{
maxResults = (*fi).getIntegerValue();
}
fi = cgi.getElement("fmt");
if (fi != cgi.getElements().end())
{
......@@ -827,15 +818,6 @@ void sentinel::spotlightocci::Application::events(xgi::Input * in, xgi::Output *
end.fromString((*fi).getValue(),"",toolbox::TimeVal::gmt);
}
// By default limit the maximum number of results to output to 1000
//
fi = cgi.getElement("maxResults");
size_t maxResults = 1000;
if (fi != cgi.getElements().end())
{
maxResults = (*fi).getIntegerValue();
}
fi = cgi.getElement("fmt");
if (fi != cgi.getElements().end())
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment