projects
/
sort-networks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f1965
)
src/sn-merge.c: Removed unused function.
author
Florian Forster
<octo@verplant.org>
Mon, 6 Jun 2011 13:19:19 +0000
(15:19 +0200)
committer
Florian Forster
<octo@verplant.org>
Mon, 6 Jun 2011 13:19:19 +0000
(15:19 +0200)
src/sn-merge.c
patch
|
blob
|
history
diff --git
a/src/sn-merge.c
b/src/sn-merge.c
index
77c2429
..
2014d1f
100644
(file)
--- 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;