mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Remove a bunch of "unused variable _relative_save_offset" warnings.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com> Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Wed May 8 07:47:45 CEST 2013 on sn-devel-104
This commit is contained in:
parent
76bffc27a3
commit
fa5898b6de
@ -1157,8 +1157,10 @@ sub ParseElementPullLevel
|
||||
$self->indent;
|
||||
|
||||
if ($l->{POINTER_TYPE} eq "relative" or $l->{POINTER_TYPE} eq "relative_short") {
|
||||
$self->pidl("uint32_t _relative_save_offset;");
|
||||
$self->pidl("_relative_save_offset = $ndr->offset;");
|
||||
if ($l->{POINTER_TYPE} eq "relative") {
|
||||
$self->pidl("uint32_t _relative_save_offset;");
|
||||
$self->pidl("_relative_save_offset = $ndr->offset;");
|
||||
}
|
||||
$self->pidl("NDR_CHECK(ndr_pull_relative_ptr2($ndr, $var_name));");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user