Skip to content

Commit

Permalink
Fix strstr() null warning
Browse files Browse the repository at this point in the history
Comment out part of incomplete dispatch matcher
Resolve #46
  • Loading branch information
fundamental committed May 4, 2022
1 parent 2499e09 commit 42e91c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,12 @@ bool rtosc_match_partial(const char *a, const char *b)
return true;
else
return false;
/*
} else if(type == 4) {
//extract substring
const char *sub=NULL;
return strstr(a,sub);
*/
} else if(type == RTOSC_MATCH_OPTIONS || type == 6) {
return false;
} else if(type == RTOSC_MATCH_ENUMERATED) {
Expand Down

0 comments on commit 42e91c8

Please sign in to comment.