mirror of
https://github.com/samba-team/samba.git
synced 2025-07-07 12:59:08 +03:00
lib: =0 and |= is equivalent to =
Just a small simplication I thought might be nice Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
a5fd779aa1
commit
f457535e33
@ -48,8 +48,7 @@ _PUBLIC_ DATA_BLOB base64_decode_data_blob_talloc(TALLOC_CTX *mem_ctx, const cha
|
|||||||
n = byte_offset+1;
|
n = byte_offset+1;
|
||||||
} else {
|
} else {
|
||||||
d[byte_offset] |= (idx >> (bit_offset-2));
|
d[byte_offset] |= (idx >> (bit_offset-2));
|
||||||
d[byte_offset+1] = 0;
|
d[byte_offset+1] = (idx << (8-(bit_offset-2))) & 0xFF;
|
||||||
d[byte_offset+1] |= (idx << (8-(bit_offset-2))) & 0xFF;
|
|
||||||
n = byte_offset+2;
|
n = byte_offset+2;
|
||||||
}
|
}
|
||||||
s++; i++;
|
s++; i++;
|
||||||
|
Reference in New Issue
Block a user