delta: prevent possible null pointer use
authorPetr Štetiar <ynezz@true.cz>
Mon, 4 Nov 2019 23:39:46 +0000 (00:39 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 14 Nov 2019 16:11:34 +0000 (17:11 +0100)
commit9cf978bc79641691f0c603c71fcfa98c1626ce59
tree471599e11f11bbf9a50163cef956a55f5fb30f20
parent7736f497d2d9a43cd36526c8d8a12718eff2e6c7
delta: prevent possible null pointer use

scan-build from clang version 9 has reported following issue:

 delta.c:39:13: warning: Null pointer passed to 1st parameter expecting 'nonnull'
        int size = strlen(section) + 1;
                   ^~~~~~~~~~~~~~~

Signed-off-by: Petr Štetiar <ynezz@true.cz>
delta.c