diff options
| author | Alan Antonuk <alan.antonuk@gmail.com> | 2015-04-29 21:50:39 -0700 |
|---|---|---|
| committer | Alan Antonuk <alan.antonuk@gmail.com> | 2015-05-03 22:40:13 -0700 |
| commit | f462c0f4a6f471038ceb2097fb0bf4c4776957ac (patch) | |
| tree | 85b814213b33c92d5d26b871962d84dc140ad0c5 /tools/delete_queue.c | |
| parent | 61fc4e190c847621688088912c240d7965ab02cd (diff) | |
| download | rabbitmq-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.c | 6 |
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), |
