author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 12 Mar 2007 19:33:18 +0000 (15:33 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 13 Mar 2007 06:40:18 +0000 (23:40 -0700) | ||
commit | 1a8f27413bfe438ce8f8aba56aa48f980f6144d1 | |
tree | a52d78c5a16873d90044a970f9e57eba2c9e9442 | tree | snapshot |
parent | b1daf300d0f56a01e5800a3d989b4cb150d99140 | commit | diff |
Correct new compiler warnings in builtin-revert
The new builtin-revert code introduces a few new compiler errors
when I'm building with my stricter set of checks enabled in CFLAGS.
These all just stem from trying to store a constant string into
a non-const char*. Simple fix, make the variables const char*.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The new builtin-revert code introduces a few new compiler errors
when I'm building with my stricter set of checks enabled in CFLAGS.
These all just stem from trying to store a constant string into
a non-const char*. Simple fix, make the variables const char*.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-revert.c | diff | blob | history | |
cache.h | diff | blob | history | |
environment.c | diff | blob | history |