]> git.notmuchmail.org Git - notmuch/commit
Silence compiler warning by initializing a variable.
authorJeffrey C. Ollie <jeff@ocjtech.us>
Wed, 25 Nov 2009 13:01:36 +0000 (07:01 -0600)
committerCarl Worth <cworth@cworth.org>
Sat, 28 Nov 2009 02:38:06 +0000 (18:38 -0800)
commite991148b00fc683d1591ba27c387c6156d0ee67e
treeeb9901e173bdc85322bdaafb9a880db3f4e2a0f9
parentc835e2a5059ebc10580f8ae2a79c4f0f81374798
Silence compiler warning by initializing a variable.

If Xapian threw an exception on notmuch_query_count_messages the count
variable could be used uninitialized.  Initialize count to solve the
problem.

Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
lib/query.cc