diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-05 02:59:55 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-05 02:59:55 +0100 |
commit | e5ddd6a6af2db0781ec5567bfcd9190279ae55d9 (patch) | |
tree | cd333e31a14a45305d536bf5a788817891db6c0e | |
parent | 8f7bcf7531158cebdfe222e52b74c073525c6b0d (diff) | |
download | hex-e5ddd6a6af2db0781ec5567bfcd9190279ae55d9.tar.gz hex-e5ddd6a6af2db0781ec5567bfcd9190279ae55d9.tar.xz hex-e5ddd6a6af2db0781ec5567bfcd9190279ae55d9.zip |
Fix a compiler warning
-rw-r--r-- | hex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -648,9 +648,9 @@ app_write_footer (struct row_buffer *b, char id, int len, const char *fmt, ...) static void app_footer_field (struct row_buffer *b, char id, int len, const char *fmt, ...) { - const char *coding; + const char *coding = ""; if (len <= 1) - coding = ""; + ; else if (g_ctx.endianity == ENDIANITY_LE) coding = "le"; else if (g_ctx.endianity == ENDIANITY_BE) |