diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2020-09-09 20:44:17 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2020-09-09 20:44:17 +0100 |
commit | bfed857f76ad177cc17db499339ea0ede7947d1e (patch) | |
tree | a258f08faa8b7cc971d7b94cfb95accd3446eac4 | |
parent | dbb9d18decbe607767b4d5e201c0ff18cba6b818 (diff) | |
download | pack-bfed857f76ad177cc17db499339ea0ede7947d1e.tar.gz pack-bfed857f76ad177cc17db499339ea0ede7947d1e.tar.xz pack-bfed857f76ad177cc17db499339ea0ede7947d1e.zip |
Add default case for trace type
-rw-r--r-- | trace.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,6 +20,7 @@ static void trace(enum pack_trace level, const char *fmt, va_list va) switch (level) { case PACK_TRACE_CALL: type = "CALL"; break; case PACK_TRACE_DEBUG: type = "DEBUG"; break; + default: type = "???"; break; } fprintf(stderr, "PACK_TRACE_%s: ", type); |