On Mon, 2014-02-24 at 00:08 +0000, Steve Huston wrote: > Could someone familiar with C++ qpid-Ping please have a look at this sometime?
Fixed. Is it possible to do a coverity scan of my own private repo before I commit so I don't embarrass myself in future? (At least not with coverity errors...) ------------------------------------------------------------------------ r1572061 | aconway | 2014-02-26 09:22:27 -0500 (Wed, 26 Feb 2014) | 2 lines NO-JIRA: Fix Coverty "Uncaught exception" errors in test clients. ------------------------------------------------------------------------ Doh! Misspelled "Coverity" in commit log, that'll be there forever. Embarrassed again. > Begin forwarded message: > > From: <scan-ad...@coverity.com<mailto:scan-ad...@coverity.com>> > Date: February 23, 2014 at 5:53:17 PM EST > Subject: New Defects reported by Coverity Scan for Apache-Qpid > > > Hi, > > > Please find the latest report on new defect(s) introduced to Apache-Qpid > found with Coverity Scan. > > Defect(s) Reported-by: Coverity Scan > Showing 1 of 1 defect(s) > > > ** CID 1186598: Uncaught exception (UNCAUGHT_EXCEPT) > /qpidbuilds/trunk/qpid/cpp/src/tests/qpid-ping.cpp: 70 in main() > > > ________________________________________________________________________________________________________ > *** CID 1186598: Uncaught exception (UNCAUGHT_EXCEPT) > /qpidbuilds/trunk/qpid/cpp/src/tests/qpid-ping.cpp: 70 in main() > 64 ("quiet,q", optValue(quiet), "Don't print anything to > stderr/stdout."); > 65 } > 66 }; > 67 > 68 } // namespace > 69 > CID 1186598: Uncaught exception (UNCAUGHT_EXCEPT) > In function "main" an exception of type "boost::bad_lexical_cast const" is > thrown and never caught. > 70 int main(int argc, char** argv) { > 71 Connection connection; > 72 PingOptions opts; > 73 try { > 74 opts.parse(argc, argv); > 75 connection = Connection(opts.url, opts.connectionOptions); > > > ________________________________________________________________________________________________________ > To view the defects in Coverity Scan visit, > http://scan.coverity.com/projects/6?tab=Overview > > To unsubscribe from the email notification for new defects, > http://scan5.coverity.com/cgi-bin/unsubscribe.py > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org