Commit 988a5837 authored by Andy Shaw's avatar Andy Shaw
Browse files

Fix previous optimization to prevent a crash

In 2faaec4e

, optimizations were done to
fix warnings as indicated by the Clang model. However the combining of
the two ifs caused a problem as riid might still be equal to
IID_IPropertyNotifySink and be the same as ciid. Therefore the check has
to be the last one done to account for other possibilities first.

Change-Id: I6a5f38beb723407b4bea8ab58c04ebbd1b900140
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@qt.io>
parent b0c50bc1
Branches
Tags
Showing with 2 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment