diff options
| author | epoch <epoch@hack.thebackupbox.net> | 2021-11-14 04:44:08 +0000 | 
|---|---|---|
| committer | epoch <epoch@hack.thebackupbox.net> | 2021-11-14 04:44:08 +0000 | 
| commit | 70e79463fef28e915926738233913129e80a434b (patch) | |
| tree | b3c9a3603f7ca082d711a2220cc94410f8491d24 | |
| parent | 4449a5ae21c9d4eb0ecb5eae5332e272066f90d3 (diff) | |
| download | uritools-70e79463fef28e915926738233913129e80a434b.tar.gz uritools-70e79463fef28e915926738233913129e80a434b.zip | |
added proper default breaks to the end of switches
| -rw-r--r-- | urimatchpairs.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/urimatchpairs.c b/urimatchpairs.c index 6da5d92..1e8b823 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;      }    }  } | 
