remove unused

This commit is contained in:
Michael Davidsaver
2017-07-14 14:38:04 +02:00
parent f1bc69816b
commit 6370f11cd2
7 changed files with 0 additions and 29 deletions

View File

@ -102,10 +102,8 @@ struct SpamMonitor : public pva::Monitor,
virtual pvd::Status start() OVERRIDE FINAL
{
bool run;
{
Guard G(mutex);
run = running;
running = true;
clientEmpty = true;
}

View File

@ -1456,7 +1456,6 @@ int main (int argc, char *argv[])
//string urlEncodedRequest;
vector< pair<string,string> > parameters;
bool monitor = false;
bool quiet = false;
string defaultProvider = DEFAULT_PROVIDER;
setvbuf(stdout,NULL,_IOLBF,BUFSIZ); /* Set stdout to line buffering */
@ -1570,7 +1569,6 @@ int main (int argc, char *argv[])
break;
case 'q': /* Quiet mode */
quiet = true;
break;
case 'd': /* Debug log level */
debug = true;

View File

@ -66,7 +66,6 @@ void usage (void)
" -d: Enable debug output\n"
" -F <ofs>: Use <ofs> as an alternate output field separator\n"
" -f <input file>: Use <input file> as an input that provides a list PV name(s) to be read, use '-' for stdin\n"
" -c: Wait for clean shutdown and report used instance count (for expert users)\n"
" enum format:\n"
" -n: Force enum interpretation of values as numbers (default is enum string)\n"
// " time format:\n"
@ -352,9 +351,7 @@ struct MonitorRequesterImpl : public MonitorRequester, public Tracker
int main (int argc, char *argv[])
{
int opt; /* getopt() current option */
bool cleanupAndReport = false;
bool monitor = false;
bool quiet = false;
istream* inputStream = 0;
ifstream ifs;
@ -409,13 +406,11 @@ int main (int argc, char *argv[])
defaultProvider = optarg;
break;
case 'q': /* Quiet mode */
quiet = true;
break;
case 'd': /* Debug log level */
debugFlag = true;
break;
case 'c': /* Clean-up and report used instance count */
cleanupAndReport = true;
break;
case 'F': /* Store this for output formatting */
fieldSeparator = (char) *optarg;

View File

@ -156,7 +156,6 @@ int main (int argc, char *argv[])
std::string providerName(defaultProvider);
std::string pvName(pvs[n]);
std::string address(noAddress);
bool usingDefaultProvider = true;
if (validURI)
{
if (uri.path.length() <= 1)
@ -167,7 +166,6 @@ int main (int argc, char *argv[])
providerName = uri.protocol;
pvName = uri.path.substr(1);
address = uri.host;
usingDefaultProvider = false;
}
pvNames.push_back(pvName);

View File

@ -485,7 +485,6 @@ int main (int argc, char *argv[])
{
int opt; /* getopt() current option */
bool debug = false;
bool quiet = false;
double timeOut = DEFAULT_TIMEOUT;
// char fieldSeparator = ' ';
bool printInfo = false;
@ -521,7 +520,6 @@ int main (int argc, char *argv[])
}
break;
case 'q': /* Quiet mode */
quiet = true;
break;
case 'd': /* Debug log level */
debug = true;
@ -592,15 +590,9 @@ int main (int argc, char *argv[])
bool allOK = true;
//if (!quiet)
// fprintf(stderr, "Searching...\n");
if (noArgs || byGUIDSearch)
discoverServers(timeOut);
//if (!quiet)
// fprintf(stderr, "done.\n");
// just list all the discovered servers
if (noArgs)
{

View File

@ -607,7 +607,6 @@ int main (int argc, char *argv[])
string providerName(defaultProvider);
string pvName(pv);
string address(noAddress);
bool usingDefaultProvider = true;
if (validURI)
{
if (uri.path.length() <= 1)
@ -618,7 +617,6 @@ int main (int argc, char *argv[])
providerName = uri.protocol;
pvName = uri.path.substr(1);
address = uri.host;
usingDefaultProvider = false;
}
ClientFactory::start();

View File

@ -46,14 +46,6 @@ static const char expectdata[] =
"this = is a test\n"
;
static
void showEscaped(const char *msg, const std::string& s)
{
std::vector<char> chars(epicsStrnEscapedFromRawSize(s.c_str(), s.size())+1);
epicsStrnEscapedFromRaw(&chars[0], chars.size(), s.c_str(), s.size());
testDiag("%s: '%s", msg, &chars[0]);
}
static void showEnv(const char *name)
{
testDiag("%s = \"%s\"", name, getenv(name));