-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: uritools
action: commit
revision:
path_from:
revision_from: 70e79463fef28e915926738233913129e80a434b:
path_to:
revision_to:

git.thebackupbox.net

uritools

git://git.thebackupbox.net/uritools

commit 70e79463fef28e915926738233913129e80a434b
Author: epoch <epoch@hack.thebackupbox.net>
Date:   Sun Nov 14 04:44:08 2021 +0000

    added proper default breaks to the end of switches

diff --git a/urimatchpairs.c b/urimatchpairs.c

index 6da5d927516306796aca9f85930599c52363e358..

index ..1e8b823b367804d95a95b1eae650584dae8ceb9a 100644

--- a/urimatchpairs.c
+++ b/urimatchpairs.c
@@ -7,7 +7,7 @@ int main(int argc,char *argv[]) {
       case '-': j=1; break;
       case 'n': j=1; printf("%s\n",argv[i]); i--; continue;
       case 'r': j=1; printf("r"); break;
-      default:
+      default: break;
     }
     switch(argv[i][j]) {
       case 's':
@@ -18,6 +18,7 @@ int main(int argc,char *argv[]) {
       case 'p':
       case 'q':
       case 'f': printf("%c %s\n",argv[i][j],argv[i+1]);
+      default: break;
     }
   }
 }

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 14:23:55 2024