don't assume automatic variables aren't initialized
put parens around assignment to clarify usage as condition - eliminates compiler warning