X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=pcre3.git;a=blobdiff_plain;f=pcrecpp.cc;h=1b8ebd294c53c1b14631d553365c5a4006b09993;hp=c424e0925a3db43a9f666fd25d68d875365d7a25;hb=4c26ecf8fa23b71fb8803a1e0e2d2258b4fb71e0;hpb=98c3e224a46705936ea39a3830e50299f2ce3c73 diff --git a/pcrecpp.cc b/pcrecpp.cc index c424e09..1b8ebd2 100644 --- a/pcrecpp.cc +++ b/pcrecpp.cc @@ -517,7 +517,7 @@ int RE::TryMatch(const StringPiece& text, return 0; } - pcre_extra extra = { 0, 0, 0, 0, 0, 0 }; + pcre_extra extra = { 0, 0, 0, 0, 0, 0, 0, 0 }; if (options_.match_limit() > 0) { extra.flags |= PCRE_EXTRA_MATCH_LIMIT; extra.match_limit = options_.match_limit(); @@ -666,6 +666,8 @@ int RE::NumberOfCapturingGroups() const { /***** Parsers for various types *****/ bool Arg::parse_null(const char* str, int n, void* dest) { + (void)str; + (void)n; // We fail if somebody asked us to store into a non-NULL void* pointer return (dest == NULL); }