summaryrefslogtreecommitdiff
path: root/tools/ivytestready.c
diff options
context:
space:
mode:
authorbustico2013-06-20 08:38:59 +0000
committerbustico2013-06-20 08:38:59 +0000
commitbd89957287441872706432d1e283091b4e5cdbc8 (patch)
tree6590870a01cdd3314201efd5aaba69c61d4c0bb3 /tools/ivytestready.c
parent15afc0c41a75c7180d981e77c7673dfefc3d8913 (diff)
downloadivy-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-xtools/ivytestready.c15
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);