diff options
author | Michele Campus <fci1908@gmail.com> | 2017-07-28 18:59:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-28 18:59:47 +0200 |
commit | baa761a2e275d971ee6e72cbc9ad32c7dbc89bf3 (patch) | |
tree | 3afb6a30b67ed700359fd8f0927fd234beba16ef /src | |
parent | f664aee00b9610509f8bb217a9c0c6c209e0ea91 (diff) | |
parent | ad401c4192f9db7e5e1c6b9fa8b45b2cd9d3d657 (diff) |
Merge pull request #427 from alagoutte/fix_warning
Fix warning
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 537893567..84e43e660 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -4678,7 +4678,6 @@ int ndpi_match_string_subprotocol(struct ndpi_detection_module_struct *ndpi_stru int matching_protocol_id = NDPI_PROTOCOL_UNKNOWN; AC_TEXT_t ac_input_text; ndpi_automa *automa = is_host_match ? &ndpi_struct->host_automa : &ndpi_struct->content_automa; - int rc; if((automa->ac_automa == NULL) || (string_to_match_len == 0)) return(NDPI_PROTOCOL_UNKNOWN); |