Add missing break statement in the case 'V' of the switch in
unifdef.c
Signed-off-by: I Viswanath <viswanathiyyappan@gmail.com>
---
The current code works only because version() calls exit(0) once
it finishes printing
scripts/unifdef.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/unifdef.c b/scripts/unifdef.c
index ff15efd6e7d7..465246fa7fd5 100644
--- a/scripts/unifdef.c
+++ b/scripts/unifdef.c
@@ -305,6 +305,7 @@ main(int argc, char *argv[])
break;
case 'V': /* print version */
version();
+ break;
default:
usage();
}
--
2.50.1