rxgen: remove dead code deverbatim 33/14333/2
authorMark Vitale <mvitale@sinenomine.net>
Fri, 28 Aug 2020 19:09:17 +0000 (15:09 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 24 Jun 2021 04:51:58 +0000 (00:51 -0400)
This routine has been dead code since the original IBM import.  It was
ifdef'd out in commit 8f2df21ffe59 pull-prototypes-to-head-20020821.

Remove it from the tree.

No functional change is incurred by this commit.

Change-Id: Ie81bd8ed1764026e872dcf07e0b12e3c8a31c64d
Reviewed-on: https://gerrit.openafs.org/14333
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

src/rxgen/rpc_scan.c

index aeb0940..8d9e8a6 100644 (file)
@@ -60,10 +60,6 @@ static void findconst(char **str, char **val);
 static int cppline(char *line);
 static int directive(char *line);
 static void docppline(char *line, int *lineno, char **fname);
-#ifdef undef
-static void deverbatim(void);
-#endif
-
 
 /*
  * scan expecting 1 given token
@@ -521,27 +517,3 @@ docppline(char *line, int *lineno, char **fname)
     }
     *lineno = num - 1;
 }
-
-
-#ifdef undef
-/* doesn't appear to be used */
-static void
-deverbatim(void)
-{
-    for (where += 2; !verbatimend(where); where++) {
-       if (*where == 0) {
-           if (!fgets(curline, MAXLINESIZE, fin)) {
-               error("unterminated code: %} is missing");
-           }
-           linenum++;
-           where = curline - 1;
-           if (verbatimend(curline)) {
-               where++;
-               break;
-           }
-           fputs(curline, fout);
-       }
-    }
-    where += 2;
-}
-#endif