X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fcommand.c;h=b4b2164e9eb08425f37fd565cec4a610a4964eb6;hp=dbf3f2aa105c1e93a8a2c8c24b4aa7619d8d10bf;hb=5ed126c4f90948fbf53d186dc4ef49018fb5ecfc;hpb=4fc97d3f2726efa147cfdb0c456eace51550e1e3 diff --git a/src/helper/command.c b/src/helper/command.c index dbf3f2aa10..b4b2164e9e 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -377,7 +377,7 @@ int command_run_line(command_context_t *context, char *line) int command_run_file(command_context_t *context, FILE *file, enum command_mode mode) { - int retval; + int retval = ERROR_OK; int old_command_mode; char buffer[4096];