From: Oleksij Rempel Date: Sun, 27 Nov 2016 06:43:17 +0000 (+0100) Subject: fix -Wmaybe-uninitialized warnings in dbg_api.c X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=da5cb4bf53d91fef84c1e9cbac3cbd6134dee875;p=librecmc%2Fopen-ath9k-htc-firmware.git fix -Wmaybe-uninitialized warnings in dbg_api.c Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c b/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c index 583ca57..04dce3d 100755 --- a/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c +++ b/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c @@ -442,7 +442,7 @@ int db_help_cmd(char *cmd, char *param1, char *param2, char *param3) static int db_ldr_cmd(char *cmd, char *param1, char *param2, char *param3) { - unsigned long val; + unsigned long val = 0; unsigned long addr; char val_str[20]; char addr_str[20];