mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-build: Tweak hacking of rpcgen output
csbuild doesn't like the hack where variable buf is initialised to itself to avoid an unused variable warning. buf is unused so remove it instead. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
755a9e654f
commit
e0b33c5549
@ -634,7 +634,7 @@ def build(bld):
|
||||
target='utils/smnotify/smnotify.h',
|
||||
rule='rpcgen -h ${SRC} > ${TGT}')
|
||||
|
||||
xdr_buf_hack = 'sed -e "s@^\([ \t]*register int32_t \*buf\);@\\1 = buf;@"'
|
||||
xdr_buf_hack = 'grep -Fv "register int32_t *buf;"'
|
||||
|
||||
bld.SAMBA_GENERATOR('ctdb-smnotify-x',
|
||||
source='utils/smnotify/smnotify.x',
|
||||
|
Loading…
Reference in New Issue
Block a user