mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
add -Wdeclaration-after-statement for supported compilers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15762 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -584,12 +584,11 @@ static unsigned char complete(EditLine * el, int ch)
|
||||
|
||||
if (h.hits != 1) {
|
||||
char *dupdup = strdup(dup);
|
||||
switch_assert(dupdup);
|
||||
int x, argc = 0;
|
||||
char *argv[10] = { 0 };
|
||||
switch_stream_handle_t stream = { 0 };
|
||||
SWITCH_STANDARD_STREAM(stream);
|
||||
|
||||
switch_assert(dupdup);
|
||||
|
||||
argc = switch_separate_string(dupdup, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
|
||||
|
||||
|
Reference in New Issue
Block a user