[Vegan-commits] r488 - pkg/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Aug 28 09:46:24 CEST 2008
Author: jarioksa
Date: 2008-08-28 09:46:24 +0200 (Thu, 28 Aug 2008)
New Revision: 488
Modified:
pkg/src/nestedness.c
Log:
pacify a pedantic compiler
Modified: pkg/src/nestedness.c
===================================================================
--- pkg/src/nestedness.c 2008-08-27 12:49:07 UTC (rev 487)
+++ pkg/src/nestedness.c 2008-08-28 07:46:24 UTC (rev 488)
@@ -202,7 +202,10 @@
(sm[0] > 0 && sm[1] > 0 && sm[2] == 0 && sm[3] == 0) ||
(sm[0] == 0 && sm[1] > 0 && sm[2] == 0 && sm[3] > 0) ||
(sm[0] > 0 && sm[1] == 0 && sm[2] > 0 && sm[3] == 0))
- return 0;
+ return 0;
+ /* never reach this but pacify a pedantic compiler */
+ else
+ return 0;
}
void swapcount(double *m, int *nr, int *nc, int *thin)
More information about the Vegan-commits
mailing list