commit | b87e9a1e2b75df5191af91ae2b30c8b0a68db7e6 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Jul 10 15:10:58 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Jul 10 15:10:58 2023 +0200 |
tree | 0be28debde9b92724544a8ba6d309f83e5bf3821 | |
parent | e420765403b6d46f835ebb833e18e0dc8d4a8899 [diff] [blame] |
log UPDATE avoid returning NULL
diff --git a/src/log.c b/src/log.c index a63973a..92f7c86 100644 --- a/src/log.c +++ b/src/log.c
@@ -99,7 +99,7 @@ } /* unreachable */ - return NULL; + return "Unknown"; } LIBYANG_API_DEF LY_VECODE @@ -144,7 +144,7 @@ } /* unreachable */ - return NULL; + return "Unknown"; } LIBYANG_API_DEF const char *