diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2011-12-05 13:39:30 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2012-01-11 12:04:20 -0500 |
commit | a4d7fd060729cea5d06f43d2cce9c16a5b7257f0 (patch) | |
tree | 8b69974c10cc654097fedc8602378d2bd8eb7774 /API.txt | |
parent | 357345dfec8f3c2528a0072729c14845c7336e57 (diff) | |
download | freeipa.git-a4d7fd060729cea5d06f43d2cce9c16a5b7257f0.tar.gz freeipa.git-a4d7fd060729cea5d06f43d2cce9c16a5b7257f0.tar.xz freeipa.git-a4d7fd060729cea5d06f43d2cce9c16a5b7257f0.zip |
Removed usage of bitwise assignment operators in logical operations
JavaScript &= and |= are bitwise operators. They are shortened version of:
foo = foo & bar
foo = foo | bar
In some places they were used as shortened version of logical operation and assignment.
foo = foo && bar
It lead to type conversion to Number which is wrong (0 !== false).
This patch replaces such occurances with full version of logical operation and asignment.
https://fedorahosted.org/freeipa/ticket/2040
Diffstat (limited to 'API.txt')
0 files changed, 0 insertions, 0 deletions