Commit Graph

25 Commits

Author SHA1 Message Date
Christian W. Zuckschwerdt
96226b5a77 minor: Add GCC Static analysis (closes #1372) 2023-10-21 19:55:41 +02:00
obones
88ae8f8473 Change literals to string const for strict discarded-qualifiers warnings (#2379)
- Change hard coded strings are "const" so any variable pointing to them must also have the const specifier to avoid a warning (from -Wdiscarded-qualifiers)
- Change local variables manipulating constant strings must also have the const qualifier
- Change hostport_param, fix remaining hostport_param args

Co-authored-by: Christian W. Zuckschwerdt <christian@zuckschwerdt.org>
2023-02-15 22:12:18 +01:00
Fabrice Fontaine
cc58fa0013 minor: Fix __has_attribute for older compilers (#1918)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-12-26 16:00:28 +01:00
Christian W. Zuckschwerdt
a7d4ba5e7f minor: Fix fallthrough attribute for other compilers 2021-11-13 22:40:49 +01:00
Christian W. Zuckschwerdt
6c8af75c75 minor: Fix stricter compiler warnings 2021-11-13 13:55:49 +01:00
Christian W. Zuckschwerdt
ade65d8a69 minor: Add kwargs_match helper 2021-09-01 12:34:44 +02:00
Christian W. Zuckschwerdt
8a203a75af Add GPSd tags option (#1636) 2021-02-01 10:40:28 +01:00
Christian W. Zuckschwerdt
71e21c43c1 minor: fix take const in tls_param, atobv, atoiv 2021-02-01 10:20:09 +01:00
Christian W. Zuckschwerdt
61d24ba988 Add optional TLS support to MQTT (closes #1633) 2021-01-28 11:06:27 +01:00
Rick van Schijndel
19f6f89243 cosmetics: remove arguments from main where they're unused
This prevents warnings about unused parameters (they're disabled by
default though, so they're not very visible).
2020-08-05 20:51:38 +02:00
Christian W. Zuckschwerdt
06e8746f19 Change -l n to -Y level=n 2020-03-16 16:12:06 +01:00
Christian W. Zuckschwerdt
1dfa26b6ff Fix optparse strtod with rounding (#1308) 2020-02-10 14:43:39 +01:00
Christian W. Zuckschwerdt
f6be17a9ca Fix optparse strtod rounding (closes #1308) 2020-02-09 11:11:56 +01:00
Christian W. Zuckschwerdt
9ad8c83d8c Cleanup minor warnings 2019-11-09 17:11:58 +01:00
Nick Black
b32ffeec35 Fix parsing of time specification with trailing spaces (#1118) 2019-08-02 16:33:07 +02:00
Christian W. Zuckschwerdt
9d32825cd9 Add more atoi_time tests 2019-08-02 10:22:55 +02:00
Christian W. Zuckschwerdt
2476ea8e9b Improve time arg parsing 2019-07-07 17:56:28 +02:00
Christian W. Zuckschwerdt
7e2223cfda Add atoiv helper, print shorter json floats, check syslog length 2019-03-26 11:36:51 +01:00
Christian W. Zuckschwerdt
8294cf8d51 Allow comma options in arg_param 2019-03-21 15:37:33 +01:00
Christian W. Zuckschwerdt
b896da1f11 Allow // in device and output host params 2019-03-20 11:22:20 +01:00
Christian W. Zuckschwerdt
baace97a5a Harmonize Doxygen comments; enable Autobrief 2019-02-13 16:36:32 +01:00
Christian W. Zuckschwerdt
0babf5193b Use CTest for testing 2018-12-30 18:13:13 +01:00
Christian W. Zuckschwerdt
df6d61b5b3 Refactor arg parse helpers 2018-12-04 13:53:12 +01:00
Christian W. Zuckschwerdt
c0e018a24c adding asepc, getkwargs helper 2018-01-11 11:40:10 +01:00
Christian W. Zuckschwerdt
0d50a961d2 parse number suffixes on e.g. frequency, samplerate, duration, hoptime 2018-01-03 16:32:25 +01:00