wafsamba: add -Werror=return-type for developer builds
commit5a257a02951717089b7fa76bcabeb1bfaab7e22b
authorStefan Metzmacher <metze@samba.org>
Fri, 7 Nov 2014 08:36:16 +0000 (7 09:36 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 27 Jan 2015 10:02:15 +0000 (27 11:02 +0100)
treeca061c640239054d4059dac622e9aab80276acda
parent1b31b8e50bdfe566f074d9f61ee60c3c90b60ffb
wafsamba: add -Werror=return-type for developer builds

This avoids errors like this:

 ../source3/utils/status.c: In function ‘print_share_mode’:
 ../source3/utils/status.c:126:3: error: ‘return’ with no value, in function
 returning non-void [-Werror=return-type]
   return;

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6ff9388172909ce249fd6254703eee707d821731)
buildtools/wafsamba/samba_autoconf.py