global: mark code units that generate warnings with -Wsign-compare
Mark code units that generate warnings with `-Wsign-compare`. This allows for a structured approach to get rid of all such warnings over time in a way that can be easily measured. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
709fdce089
commit
41f43b8243
@ -1,3 +1,5 @@
|
||||
#define DISABLE_SIGN_COMPARE_WARNINGS
|
||||
|
||||
#include "lib-reftable.h"
|
||||
#include "test-lib.h"
|
||||
#include "reftable/constants.h"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#define USE_THE_REPOSITORY_VARIABLE
|
||||
#define DISABLE_SIGN_COMPARE_WARNINGS
|
||||
|
||||
#include "test-lib.h"
|
||||
#include "object.h"
|
||||
|
@ -1,3 +1,5 @@
|
||||
#define DISABLE_SIGN_COMPARE_WARNINGS
|
||||
|
||||
#include "test-lib.h"
|
||||
#include "prio-queue.h"
|
||||
|
||||
|
@ -6,6 +6,8 @@ license that can be found in the LICENSE file or at
|
||||
https://developers.google.com/open-source/licenses/bsd
|
||||
*/
|
||||
|
||||
#define DISABLE_SIGN_COMPARE_WARNINGS
|
||||
|
||||
#include "test-lib.h"
|
||||
#include "lib-reftable.h"
|
||||
#include "reftable/basics.h"
|
||||
|
@ -6,6 +6,8 @@ license that can be found in the LICENSE file or at
|
||||
https://developers.google.com/open-source/licenses/bsd
|
||||
*/
|
||||
|
||||
#define DISABLE_SIGN_COMPARE_WARNINGS
|
||||
|
||||
#include "test-lib.h"
|
||||
#include "lib-reftable.h"
|
||||
#include "reftable/merged.h"
|
||||
|
@ -1,3 +1,5 @@
|
||||
#define DISABLE_SIGN_COMPARE_WARNINGS
|
||||
|
||||
#include "test-lib.h"
|
||||
#include "trailer.h"
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
#define DISABLE_SIGN_COMPARE_WARNINGS
|
||||
|
||||
#include "test-lib.h"
|
||||
|
||||
enum result {
|
||||
|
Reference in New Issue
Block a user