diff --git a/photosyst.c b/photosyst.c index 08654c6f..02ca79c7 100644 --- a/photosyst.c +++ b/photosyst.c @@ -2698,7 +2698,7 @@ void realnuma_support(void) { FILE *fp; - int i, total, nr=0, dist[10]; + int i, total, nr=0, dist[10]={0}; char linebuf[1024]; if ( (fp = fopen(NUMADISTANCE0, "r")) == NULL)