r5775: Remove some unused functions (unions are no longer as special as they used...
[samba.git] / source4 / build / pidl / ndr.pm
index 1e862f5c231602203687004bec2cc14ad07679b1..b4f02048a20718a359ccf4452840b5e1ac2b0024 100644 (file)
@@ -549,7 +549,7 @@ sub ParseArrayPull($$$$)
        my $size = $length;
 
        if (is_conformant_array($e)) {
-               $size = "ndr_get_array_size($ndr, &$var_prefix$e->{NAME})";
+               $length = $size = "ndr_get_array_size($ndr, &$var_prefix$e->{NAME})";
        }
 
        # if this is a conformant array then we use that size to allocate, and make sure