]> git.sur5r.net Git - u-boot/blobdiff - env/mmc.c
Merge git://git.denx.de/u-boot-spi
[u-boot] / env / mmc.c
index 3343f9e9f6c0742bc65105bc81ebc87aea23afd7..ed7bcf16ae0ea075a5169fc3f7036b584dfa174f 100644 (file)
--- a/env/mmc.c
+++ b/env/mmc.c
@@ -73,7 +73,7 @@ static inline s64 mmc_offset(int copy)
                .partition = "u-boot,mmc-env-partition",
                .offset = "u-boot,mmc-env-offset",
        };
-       s64 val, defvalue;
+       s64 val = 0, defvalue;
        const char *propname;
        const char *str;
        int err;