From 6bfd39a86273062b28536d4aec66893bc2fecdc0 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 29 Oct 2012 20:21:56 -0500 Subject: [PATCH 1/1] imagex.c: Remove unused swap() macro --- programs/imagex.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/programs/imagex.c b/programs/imagex.c index d12c8f71..8e9e9521 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -35,9 +35,6 @@ #define ARRAY_LEN(array) (sizeof(array) / sizeof(array[0])) -#define swap(a, b) ({ typeof(a) __a = (a); typeof(b) __b = (b); \ - a = __b; b = __a; }) - #define for_opt(c, opts) while ((c = getopt_long_only(argc, (char**)argv, "", \ opts, NULL)) != -1) -- 2.43.0