diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-29 00:55:30 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-29 00:55:46 +0200 |
commit | ca3ebf1e59eb00ad101ba8b26e5185db4d785610 (patch) | |
tree | 6f4410620f4d0c3c75c694fa6bf434abd24fc96d | |
parent | 919fd2f427e1a7dda53cd868804d03a61fb0aa87 (diff) | |
download | gnunet-ca3ebf1e59eb00ad101ba8b26e5185db4d785610.tar.gz gnunet-ca3ebf1e59eb00ad101ba8b26e5185db4d785610.zip |
-fix compiler warnings
-rw-r--r-- | src/regex/gnunet-regex-profiler.c | 4 | ||||
-rw-r--r-- | src/regex/regex_test_lib.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c index 90e06cf5f..bd223ae8e 100644 --- a/src/regex/gnunet-regex-profiler.c +++ b/src/regex/gnunet-regex-profiler.c | |||
@@ -570,7 +570,9 @@ stats_iterator (void *cls, | |||
570 | sizeof(output_buffer), | 570 | sizeof(output_buffer), |
571 | "%p [%s] %llu %s\n", | 571 | "%p [%s] %llu %s\n", |
572 | peer, | 572 | peer, |
573 | subsystem, value, name); | 573 | subsystem, |
574 | (unsigned long long) value, | ||
575 | name); | ||
574 | if (size != GNUNET_DISK_file_write (data_file, output_buffer, size)) | 576 | if (size != GNUNET_DISK_file_write (data_file, output_buffer, size)) |
575 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 577 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
576 | "Unable to write to file!\n"); | 578 | "Unable to write to file!\n"); |
diff --git a/src/regex/regex_test_lib.c b/src/regex/regex_test_lib.c index f8d3f993f..2fece6bff 100644 --- a/src/regex/regex_test_lib.c +++ b/src/regex/regex_test_lib.c | |||
@@ -93,6 +93,7 @@ c2i (char c, int size) | |||
93 | } | 93 | } |
94 | 94 | ||
95 | 95 | ||
96 | #if DEBUG_REGEX | ||
96 | /** | 97 | /** |
97 | * Printf spaces to indent the regex tree | 98 | * Printf spaces to indent the regex tree |
98 | * | 99 | * |
@@ -106,6 +107,9 @@ space (int n) | |||
106 | } | 107 | } |
107 | 108 | ||
108 | 109 | ||
110 | #endif | ||
111 | |||
112 | |||
109 | /** | 113 | /** |
110 | * Printf the combined regex ctx. | 114 | * Printf the combined regex ctx. |
111 | * | 115 | * |