diff options
author | bustico | 2013-06-20 08:38:59 +0000 |
---|---|---|
committer | bustico | 2013-06-20 08:38:59 +0000 |
commit | bd89957287441872706432d1e283091b4e5cdbc8 (patch) | |
tree | 6590870a01cdd3314201efd5aaba69c61d4c0bb3 /tools/ivytestready.c | |
parent | 15afc0c41a75c7180d981e77c7673dfefc3d8913 (diff) | |
download | ivy-c-bd89957287441872706432d1e283091b4e5cdbc8.zip ivy-c-bd89957287441872706432d1e283091b4e5cdbc8.tar.gz ivy-c-bd89957287441872706432d1e283091b4e5cdbc8.tar.bz2 ivy-c-bd89957287441872706432d1e283091b4e5cdbc8.tar.xz |
fix compilation warning
Diffstat (limited to 'tools/ivytestready.c')
-rwxr-xr-x | tools/ivytestready.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tools/ivytestready.c b/tools/ivytestready.c index 4f839ef..35e0eae 100755 --- a/tools/ivytestready.c +++ b/tools/ivytestready.c @@ -85,6 +85,10 @@ void binCB( IvyClientPtr app, void *user_data, int id, const char* regexp, IvyB } } + + + + int main(int argc, char *argv[]) { @@ -98,8 +102,17 @@ int main(int argc, char *argv[]) } IvyInit (me, ready_message, NULL,NULL,NULL,NULL); - IvySetBindCallback( binCB, 0 ), + IvySetBindCallback( binCB, 0 ); + +#if defined(__GNUC__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wformat-security" +#endif IvyBindMsg (Ready, NULL, ready_bind); +#if defined(__GNUC__) +#pragma GCC diagnostic pop +#endif + IvyBindMsg (Question, NULL, "^are you there %s",me); IvyBindMsg (Reply, NULL, "^(yes i am %s)",other); |