• R/O
  • SSH
  • HTTPS

yash: Commit


Commit MetaInfo

Revision4169 (tree)
Time2021-06-02 00:38:37
Authormagicant

Log Message

makesignum: Use default for 0

The switch statement should be exhaustive to suppress compiler warning.

Change Summary

Incremental Difference

--- yash/trunk/makesignum.c (revision 4168)
+++ yash/trunk/makesignum.c (revision 4169)
@@ -61,7 +61,7 @@
6161 wprintf(L"__attribute__((const))\n");
6262 wprintf(L"static inline size_t sigindex(int signum) {\n");
6363 wprintf(L" switch (signum) {\n");
64- wprintf(L" case 0 : return 0;\n");
64+ wprintf(L" default : return 0;\n");
6565
6666 sigemptyset(&ss);
6767 v = 1;
Show on old repository browser