pidl:Samba4/NDR/Parser: only do the switch type alignment when we have a switch type
authorStefan Metzmacher <metze@samba.org>
Mon, 31 Jan 2011 13:05:52 +0000 (14:05 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 2 Feb 2011 19:49:41 +0000 (11:49 -0800)
commit66f81fcbf067fd4ca64f6662d8b97e9aee4b47bd
tree674d51a3b2cccb1d943647ba9ab53f7c94c47506
parent90817e47f6edacc47b01cba703be9952b0c5053d
pidl:Samba4/NDR/Parser: only do the switch type alignment when we have a switch type

This doesn't change the logic, it just doesn't call the same aligment function
twice.

metze
(cherry picked from commit 6124148d66d90064ebe3fa2ecb2c6588705495a0)
pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm