From e84d7a082c20b591a06fdfd38ccdbe458e276631 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 2 Oct 2017 12:32:02 +0200 Subject: Use braces to make GCC happy --- src/cnetz/main.c | 7 ++++--- src/nmt/main.c | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/cnetz/main.c b/src/cnetz/main.c index c62f9f0..af1eaac 100644 --- a/src/cnetz/main.c +++ b/src/cnetz/main.c @@ -175,12 +175,13 @@ void print_help(const char *arg0) printf(" block all matching phones. Alternatively the phone number may be given\n"); printf(" here, so that the 4 bits get calculated automatically. The optional\n"); printf(" second value can be given, to define a range - in the same way.\n"); - if (futln_sperre_start < 0) + if (futln_sperre_start < 0) { printf(" (default = no value given)\n"); - else if (futln_sperre_end < 0) + } else if (futln_sperre_end < 0) { printf(" (default = %d)\n", futln_sperre_start); - else + } else { printf(" (default = %d-%d)\n", futln_sperre_start, futln_sperre_end); + } printf(" -D --demod auto | slope | level\n"); printf(" Adjust demodulation algorithm. Use 'slope' to detect a level change\n"); printf(" by finding the highest slope of a bit transition. It is useful, if\n"); diff --git a/src/nmt/main.c b/src/nmt/main.c index 1302124..d6b5ed0 100644 --- a/src/nmt/main.c +++ b/src/nmt/main.c @@ -68,10 +68,11 @@ void print_help(const char *arg0) printf(" Give channel type, use 'list' to get a list. (default = '%s')\n", chan_type_short_name(nmt_system, chan_type[0])); printf(" -P --ms-power \n"); printf(" Give power level of the mobile station 0..3. (default = '%d')\n", ms_power); - if (nmt_system == 450) + if (nmt_system == 450) { printf(" NMT-450: 3 = 15 W / 7 W (handheld), 2 = 1.5 W, 1/0 = 150 mW\n"); - else + } else { printf(" NMT-900: 3/2 = 6 W, 1 = 1.5 W, 0 = 150 mW\n"); + } printf(" -Y --traffic-area | list\n"); printf(" NOTE: MUST MATCH WITH YOUR ROAMING SETTINGS IN THE PHONE!\n"); printf(" Your phone will not connect, if country code is different!\n"); -- cgit v1.2.3