WaE: suggest parentheses around assignment used as truth value

While at it, change the lovely bDocSzUpdated global variable into a bool.

Change-Id: I6e60e1516e9345076ea08b5aa7029d10d324cb28