Bug 13143 - samba-4.7.2/source4/torture/raw/samba3misc.c:951: strange expression ?
samba-4.7.2/source4/torture/raw/samba3misc.c:951: strange expression ?
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other
4.7.2
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-15 14:18 UTC by David Binderman
Modified: 2017-11-15 14:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2017-11-15 14:18:17 UTC
[samba-4.7.2/source4/torture/raw/samba3misc.c:951]: (style) Same expression on both sides of '|'.

Source code is

    io.ntcreatex.in.share_access =
        NTCREATEX_SHARE_ACCESS_READ
        | NTCREATEX_SHARE_ACCESS_READ;

Suggest either add WRITE access or remove one of the READs.