diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2016-05-29 23:39:06 -0700 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2016-05-30 02:09:55 -0700 |
commit | d967caa988eaabd9e84c82879e2f21bd33b952a7 (patch) | |
tree | 1ce02903e4541be85934bacbde78413fdf4919b1 | |
parent | e6009adbc89ec3e1f924bcb57b333c1c02f5e66d (diff) |
fstrans: Remove unused foo() function
The point of it seems to have been to silence an unused function warning, but
there's no point if we're just transitioning that to another unused function
warning.
src/fc/fstrans.c:32:20: warning: unused function 'foo' [-Wunused-function]
static inline void foo(void) { (void) is_numeric("a"); }
^
1 warning generated.
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/fc/fstrans.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fc/fstrans.c b/src/fc/fstrans.c index 66bc978..902ef36 100644 --- a/src/fc/fstrans.c +++ b/src/fc/fstrans.c @@ -28,5 +28,3 @@ #define FONT_t #define TRANS_CLIENT #include <X11/Xtrans/transport.c> -/* inhibit warning about is_numeric */ -static inline void foo(void) { (void) is_numeric("a"); } |