From 0dcc7bab1d1dbd22996c9de848ed54d5d9be656b Mon Sep 17 00:00:00 2001 From: hackbard Date: Thu, 30 Apr 2009 10:14:29 +0200 Subject: [PATCH] fixed compiler warnings --- mdrun.c | 5 ----- pair_correlation_calc.c | 8 ++++++-- potentials/albe.h | 2 ++ 3 files changed, 8 insertions(+), 7 deletions(-) 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