You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Greg Griffin (JIRA)" <ji...@apache.org> on 2007/02/16 10:46:02 UTC
[jira] Created: (AMQCPP-67) Get warning " 'e' : unreferenced local
variable" in the example main.cpp
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: Nathan Mittler
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.
[jira] Assigned: (AMQCPP-67) Get warning " 'e' : unreferenced local
variable" in the example main.cpp
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (AMQCPP-67) Get warning " 'e' : unreferenced local
variable" in the example main.cpp
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQCPP-67.
--------------------------------
Resolution: Fixed
Fixed in trunk
> 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.