diff mbox series

[V2,27/36] tools: fix warning due to new SOURCE type

Message ID 20211114172733.71602-28-sbabic@denx.de
State Changes Requested
Headers show
Series DELTA Update | expand

Commit Message

Stefano Babic Nov. 14, 2021, 5:27 p.m. UTC
Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 tools/swupdate-ipc.c      | 2 ++
 tools/swupdate-progress.c | 3 +++
 2 files changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/tools/swupdate-ipc.c b/tools/swupdate-ipc.c
index de1e1e1..ba15151 100644
--- a/tools/swupdate-ipc.c
+++ b/tools/swupdate-ipc.c
@@ -526,6 +526,8 @@  static int sysrestart(cmd_t  __attribute__((__unused__)) *cmd, int argc, char *a
 			case SOURCE_LOCAL:
 				fprintf(stdout, "LOCAL\n\n");
 				break;
+			default:
+				break;
 			}
 		}
 
diff --git a/tools/swupdate-progress.c b/tools/swupdate-progress.c
index 716c8fb..0bb3d1f 100644
--- a/tools/swupdate-progress.c
+++ b/tools/swupdate-progress.c
@@ -290,6 +290,9 @@  int main(int argc, char **argv)
 				case SOURCE_DOWNLOADER:
 					fprintf(stdout, "DOWNLOADER\n\n");
 					break;
+				case SOURCE_CHUNKS_DOWNLOADER:
+					fprintf(stdout, "CHUNKS DOWNLOADER\n\n");
+					break;
 				case SOURCE_LOCAL:
 					fprintf(stdout, "LOCAL\n\n");
 					break;