[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] initialize some variables in test to prevent -Wmaybe-uninitialized

From: Andreas Stieger <andreas.stieger_at_gmx.de>
Date: Tue, 19 Nov 2013 21:02:54 +0000

Hello,

thanks for review. I get the comments about this being a rather
unimportant warning as it's all test code, but still less warnings are
better. Updated patch with TRUE/FALSE attached.

[[[
* subversion/tests/libsvn_fs/fs-test.c
  (check_entry_present, check_entry_absent),
* subversion/tests/libsvn_fs_base/fs-base-test.c
  (check_entry_present, check_entry_absent, check_id_present,
  check_id_absent): initialize variable present to silence
  warning -Wmaybe-uninitialized
]]]

Andreas

Received on 2013-11-19 22:03:31 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.