From: hackbard Date: Thu, 30 Apr 2009 08:14:29 +0000 (+0200) Subject: fixed compiler warnings X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=0dcc7bab1d1dbd22996c9de848ed54d5d9be656b;p=physik%2Fposic.git fixed compiler warnings --- diff --git a/mdrun.c b/mdrun.c index 1bf983d..f402e40 100644 --- a/mdrun.c +++ b/mdrun.c @@ -17,11 +17,6 @@ #include "potentials/tersoff.h" #endif -/* pse */ -#define PSE_MASS -#include "pse.h" -#undef PSE_MASS - #define ME "[mdrun]" /* diff --git a/pair_correlation_calc.c b/pair_correlation_calc.c index cfe14e2..26db76b 100644 --- a/pair_correlation_calc.c +++ b/pair_correlation_calc.c @@ -43,6 +43,8 @@ int main(int argc,char **argv) { dr=atof(argv[1]); first=1; + stat=NULL; + total=NULL; for(j=2;j