projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8082eb4
)
Eliminate unused spec field from macro expansion state struct
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 27 Sep 2010 07:02:17 +0000
(10:02 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 27 Sep 2010 11:55:11 +0000
(14:55 +0300)
rpmio/macro.c
patch
|
blob
|
history
diff --git
a/rpmio/macro.c
b/rpmio/macro.c
index
78d1009
..
4df1e87
100644
(file)
--- a/
rpmio/macro.c
+++ b/
rpmio/macro.c
@@
-67,7
+67,6
@@
typedef struct MacroBuf_s {
int depth; /*!< Current expansion depth. */
int macro_trace; /*!< Pre-print macro to expand? */
int expand_trace; /*!< Post-print macro expansion? */
- void * spec; /*!< (future) %file expansion info?. */
rpmMacroContext mc;
} * MacroBuf;
@@
-1369,8
+1368,6
@@
expandMacros(void * spec, rpmMacroContext mc, char * sbuf, size_t slen)
mb->depth = 0;
mb->macro_trace = print_macro_trace;
mb->expand_trace = print_expand_trace;
-
- mb->spec = spec; /* (future) %file expansion info */
mb->mc = mc;
rc = expandMacro(mb, sbuf);