summaryrefslogtreecommitdiff
path: root/navit/util.c
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2018-02-02 23:34:21 +0100
committermvglasow <michael -at- vonglasow.com>2018-02-02 23:34:21 +0100
commitb4f98a4cb072d1888c5fbf0766eb406d252fdded (patch)
treec9caf04ee1ea70b3eac908f49d54324e34c18c7a /navit/util.c
parent70e5cc5fa4a06428a3d4d136bca24c958fb32e62 (diff)
downloadnavit-b4f98a4cb072d1888c5fbf0766eb406d252fdded.tar.gz
Refactor:core:Drop unused variables
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/util.c')
-rw-r--r--navit/util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/navit/util.c b/navit/util.c
index 06d137c43..49b5b80e2 100644
--- a/navit/util.c
+++ b/navit/util.c
@@ -219,7 +219,6 @@ char * parse_for_systematic_comparison(const char *s) {
/* TODO break up strings at semicolons and parse each separately, return 0 if any two match */
int compare_name_systematic(const char *s1, const char *s2) {
int ret = 0;
- int i;
char *l, *r, *l0, *r0;
if (!s1 || !s1[0]) {
@@ -596,8 +595,6 @@ time_t mkgmtime(struct tm * pt) {
* @brief Converts an ISO 8601-style time string into `time_t`.
*/
time_t iso8601_to_time(char * iso8601) {
- time_t ret;
-
/* Date/time fields (YYYY-MM-DD-hh-mm-ss) */
int val[8];