From 2ee9dc2ea0e078f17dbfeb5a5dfd4a688762f75a Mon Sep 17 00:00:00 2001 From: Anti-Lin Date: Thu, 4 May 2023 23:44:21 +0800 Subject: [PATCH] [HUST CSE] fix:Fixed issue where switch statements may not return values --- solutions/eduk1_demo/k1_apps/greedySnake/greedySnake.c | 1 + 1 file changed, 1 insertion(+) diff --git a/solutions/eduk1_demo/k1_apps/greedySnake/greedySnake.c b/solutions/eduk1_demo/k1_apps/greedySnake/greedySnake.c index b8623b301f..f1f7ec6d02 100644 --- a/solutions/eduk1_demo/k1_apps/greedySnake/greedySnake.c +++ b/solutions/eduk1_demo/k1_apps/greedySnake/greedySnake.c @@ -415,6 +415,7 @@ icon_t *get_icon_num_5_3(uint8_t num) return &icon_9_5_3; break; default: + return &icon_9_5_3; break; } }