• brucedawson's avatar
    Fix unreachable code bug caused by anding with zero, per finnur@. · 4e7e6b35
    brucedawson authored
    VC++'s /analyze pointed out that an incorrect operator was being used.
    The warning was:
    
    src\chrome\browser\enumerate_modules_model_win.cc(898) : warning C6313:
    Incorrect operator:  zero-valued flag cannot be tested with bitwise-and.
    Use an equality test to check for zero-valued flags.
    
    This bug dates back to the original code in November 2010. Fixed to 'and' with the INVESTIGATING value, as intended, after discussion with finnur@.
    
    BUG=427616
    
    Review URL: https://codereview.chromium.org/700713002
    
    Cr-Commit-Position: refs/heads/master@{#302715}
    4e7e6b35
enumerate_modules_model_win.cc 37.4 KB