[Libreoffice-commits] core.git: rsc/source

Stephan Bergmann sbergman at redhat.com
Wed Dec 21 13:39:00 UTC 2016


 rsc/source/rscpp/cpp3.c |   21 ---------------------
 1 file changed, 21 deletions(-)

New commits:
commit 78ddea8eafa2196b7a3f537bc81962f5efa008b4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Dec 21 14:38:14 2016 +0100

    -Werror,-Wunused-function (clang-cl)
    
    Change-Id: I351067e7274c13d5364ffa1b168910eb1b82af37

diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c
index a24812e..bd2e2cc 100644
--- a/rsc/source/rscpp/cpp3.c
+++ b/rsc/source/rscpp/cpp3.c
@@ -362,27 +362,6 @@ int readoptions(char* filename, char*** pfargv)
     return (back);
 }
 
-#if HOST != SYS_UNIX
-
-/*
- * Dec operating systems mangle upper-lower case in command lines.
- * This routine forces the -D and -U arguments to uppercase.
- * It is called only on cpp startup by dooptions().
- */
-static void zap_uc(char* ap)
-{
-    while (*ap != EOS)
-    {
-        /*
-         * Don't use islower() here so it works with Multinational
-         */
-        if (*ap >= 'a' && *ap <= 'z')
-            *ap = (char)toupper(*ap);
-        ap++;
-    }
-}
-#endif
-
 /*
  * Initialize the built-in #define's.  There are two flavors:
  *      #define decus   1               (static definitions)


More information about the Libreoffice-commits mailing list