diff options
author | Simone Mainardi <mainardi@ntop.org> | 2020-08-27 10:39:36 +0200 |
---|---|---|
committer | Simone Mainardi <mainardi@ntop.org> | 2020-08-27 10:39:36 +0200 |
commit | 1810281d7fecaf8e071eaa878c9237a33e633b2a (patch) | |
tree | c0391b758af3fc3597935f65b2addd80e8f24f6e /src | |
parent | f0325f713a741c6ed5f896ba0e11cca9638258ef (diff) |
Fixes control reaches end of non-void function
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 5db42cffa..e1258bfd2 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1587,7 +1587,7 @@ ndpi_http_method ndpi_http_str2method(const char* method, ssize_t method_len) { case 'D': return(NDPI_HTTP_METHOD_DELETE); case 'T': return(NDPI_HTTP_METHOD_TRACE); case 'C': return(NDPI_HTTP_METHOD_CONNECT); - - default: return(NDPI_HTTP_METHOD_UNKNOWN); } + + return(NDPI_HTTP_METHOD_UNKNOWN); } |