diff options
Diffstat (limited to 'fix_compile_error.patch')
-rw-r--r-- | fix_compile_error.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/fix_compile_error.patch b/fix_compile_error.patch new file mode 100644 index 000000000000..83fe3349ca49 --- /dev/null +++ b/fix_compile_error.patch @@ -0,0 +1,26 @@ +diff --git a/futility/futility.c b/futility/futility.c +index 60cc9c5..6cea681 100644 +--- a/futility/futility.c ++++ b/futility/futility.c +@@ -230,7 +230,7 @@ static int run_command(const struct futil_cmd_t *cmd, int argc, char *argv[]) + static int do_help(int argc, char *argv[]) + { + const struct futil_cmd_t *cmd; +- const char *vstr; ++ const char *vstr = ""; + + /* Help about a known command? */ + if (argc > 1) { +diff --git a/host/lib21/host_misc.c b/host/lib21/host_misc.c +index db5e824..ee9426a 100644 +--- a/host/lib21/host_misc.c ++++ b/host/lib21/host_misc.c +@@ -138,7 +138,7 @@ static const char *onebyte(const char *str, uint8_t *vptr) + + int vb2_str_to_id(const char *str, struct vb2_id *id) + { +- uint8_t val; ++ uint8_t val = 0; + int i; + + if (!str) |