]> git.ozlabs.org Git - petitboot/blobdiff - utils/hooks/30-dtb-updates.c
Various fixups and checks to make scan-build happy
[petitboot] / utils / hooks / 30-dtb-updates.c
index b8413fd361ddb6d22c0e2228d9010babb5275d54..2d30c40c089f43859bc9fccca70aa9c6889a7bbd 100644 (file)
@@ -605,7 +605,7 @@ out:
 int main(void)
 {
        struct offb_ctx *ctx;
-       int rc;
+       int rc = 0;
 
        ctx = talloc_zero(NULL, struct offb_ctx);