]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Quiet clang scan?
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 27 Jan 2019 08:31:36 +0000 (15:31 +0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 27 Jan 2019 08:31:36 +0000 (15:31 +0700)
src/lib/util/dict.c

index 64e4fc6fdc41dc3fdafdee690ec9646a85176a94..12d9d4a71e71ee72c6d3dca1851a8e2e4c4aa9d6 100644 (file)
@@ -3328,6 +3328,8 @@ again:
 
        p += slen;
 
+       rad_assert(*out);       /* If we're returning a success code indication, ensure we populated out */
+
        return p - name;
 }