nghttp2/third-party/url-parser
Andrew Kistler 441de58f8e Fix warnings
modified:   url_parser.c

url_parser.c:589:17: warning: implicit conversion turns string literal into bool: 'const char [17]' to '_Bool' [-Wstring-conversion]⏎
        assert(!"Unexpected state");⏎
               ~^~~~~~~~~~~~~~~~~~⏎
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/assert.h:99:25: note: expanded from macro 'assert'⏎
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __ASSERT_FILE_NAME, __LINE__, #e) : (void)0)⏎
                        ^⏎
url_parser.c:627:17: warning: declaration shadows a local variable [-Wshadow]⏎
    const char* p;⏎
                ^⏎
url_parser.c:536:15: note: previous declaration is here⏎
  const char *p;⏎
              ^⏎
url_parser.c:640:15: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]⏎
      v += *p - '0';⏎
        ~~ ~~~^~~~~⏎
3 warnings generated.
2022-09-08 10:16:28 -04:00
..
.gitignore Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
AUTHORS Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
LICENSE-MIT Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00
url_parser.c Fix warnings 2022-09-08 10:16:28 -04:00
url_parser.h Replace http-parser with llhttp 2019-04-20 18:42:30 +09:00