summaryrefslogtreecommitdiff
path: root/tools/delete_queue.c
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2015-04-29 21:50:39 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2015-05-03 22:40:13 -0700
commitf462c0f4a6f471038ceb2097fb0bf4c4776957ac (patch)
tree85b814213b33c92d5d26b871962d84dc140ad0c5 /tools/delete_queue.c
parent61fc4e190c847621688088912c240d7965ab02cd (diff)
downloadrabbitmq-c-initializer_warnings.tar.gz
Squash warnings about static initializers in tools.initializer_warnings
Diffstat (limited to 'tools/delete_queue.c')
-rw-r--r--tools/delete_queue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/delete_queue.c b/tools/delete_queue.c
index 4df0992..e038ee4 100644
--- a/tools/delete_queue.c
+++ b/tools/delete_queue.c
@@ -48,9 +48,9 @@
int main(int argc, const char **argv)
{
amqp_connection_state_t conn;
- char *queue = NULL;
- int if_unused = 0;
- int if_empty = 0;
+ static char *queue = NULL;
+ static int if_unused = 0;
+ static int if_empty = 0;
struct poptOption options[] = {
INCLUDE_OPTIONS(connect_options),