You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2007/02/16 16:25:04 UTC
[jira] Assigned: (AMQCPP-67) Get warning " 'e' : unreferenced local
variable" in the example main.cpp
[ https://issues.apache.org/activemq/browse/AMQCPP-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish reassigned AMQCPP-67:
----------------------------------
Assignee: Timothy Bish (was: Nathan Mittler)
> Get warning " 'e' : unreferenced local variable" in the example main.cpp
> ------------------------------------------------------------------------
>
> Key: AMQCPP-67
> URL: https://issues.apache.org/activemq/browse/AMQCPP-67
> Project: ActiveMQ C++ Client
> Issue Type: Improvement
> Affects Versions: 1.1
> Environment: Win XP, VC++ 2005 Express
> Reporter: Greg Griffin
> Assigned To: Timothy Bish
> Priority: Minor
>
> occurs in method cleanup(), e.g.
> try {
> if( destination != NULL ) delete destination;
> } catch ( CMSException& e ) {}
> destination = NULL;
> To solve, can just add something with "e" inside the catch. e.g.:
> ...catch ( CMSException& e ) {e.printStackTrace();}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.