From 0113e9dd36a495932d1e63cbc1348a9fc0e38738 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Tue, 4 Sep 2012 09:16:40 -0400 Subject: make broadcast command active in debug mode only --- parser.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'parser.c') diff --git a/parser.c b/parser.c index ef1d43a..b566896 100644 --- a/parser.c +++ b/parser.c @@ -4191,6 +4191,8 @@ static int Go_cal_interval_101(gchar** response, int channel, char *parameter,ch static int Go_broadcast_103(gchar** response, int channel, char *parameter,char *units,int command_type) { +#ifdef DEBUG_ON + gchar *broadcast_str = NULL; switch (command_type) { @@ -4214,4 +4216,9 @@ static int Go_broadcast_103(gchar** response, int channel, char *parameter,char } return ThisShouldntHappen; + +#else + + return Unrecognized; +#endif } -- cgit