From: Florian Forster Date: Mon, 6 Jun 2011 13:19:19 +0000 (+0200) Subject: src/sn-merge.c: Removed unused function. X-Git-Tag: v1.1.0~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=87ae0e612365689acbd8c9da07dec3d898c7b559;p=sort-networks.git src/sn-merge.c: Removed unused function. --- diff --git a/src/sn-merge.c b/src/sn-merge.c index 77c2429..2014d1f 100644 --- a/src/sn-merge.c +++ b/src/sn-merge.c @@ -78,18 +78,6 @@ static int read_options (int argc, char **argv) /* {{{ */ return (0); } /* }}} int read_options */ -static _Bool is_power_of_two (int n) -{ - if (n < 1) - return (0); - else if ((n == 1) || (n == 2)) - return (1); - else if ((n % 2) != 0) - return (0); - else - return (is_power_of_two (n >> 1)); -} /* _Bool is_power_of_two */ - int main (int argc, char **argv) { sn_network_t *n0;