RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall Root: /v/rpm/cvs Email: r...@rpm5.org Module: rpm Date: 01-Jun-2009 14:56:46 Branch: HEAD Handle: 2009060112564500 Modified files: rpm/rpmio macro.c Log: get rid of compile-time warnings in case one builds without any embedded languages Summary: Revision Changes Path 2.232 +4 -0 rpm/rpmio/macro.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmio/macro.c ============================================================================ $ cvs diff -u -r2.231 -r2.232 macro.c --- rpm/rpmio/macro.c 13 May 2009 18:40:19 -0000 2.231 +++ rpm/rpmio/macro.c 1 Jun 2009 12:56:45 -0000 2.232 @@ -87,7 +87,9 @@ #include "debug.h" /*...@unchecked@*/ +#if defined(WITH_FICL) || defined(WITH_JS) || defined(WITH_PERLEMBED) || defined(WITH_PYTHONEMBED) || defined(WITH_RUBYEMBED) || defined(WITH_TCL) static int _globalI = 1; +#endif #if defined(__LCLINT__) /*...@-exportheader@*/ @@ -1569,6 +1571,7 @@ * @retval *avp invocation args * @return script string */ +#if defined(WITH_FICL) || defined(WITH_JS) || defined(WITH_PERLEMBED) || defined(WITH_PYTHONEMBED) || defined(WITH_RUBYEMBED) || defined(WITH_TCL) static char * parseEmbedded(const char * s, size_t nb, const char *** avp) /*...@*/ { @@ -1602,6 +1605,7 @@ script[nb] = '\0'; return script; } +#endif /** * The main macro recursion loop. @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org