changeset 1:912123d43a87 noffle

[svn] Fixed bug introduced by recent changes.
author enz
date Tue, 04 Jan 2000 13:49:50 +0000
parents 04124a4423d4
children 26398b4be952
files content.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/content.c	Tue Jan 04 11:35:42 2000 +0000
+++ b/content.c	Tue Jan 04 13:49:50 2000 +0000
@@ -1,7 +1,7 @@
 /*
   content.c
 
-  $Id: content.c 3 2000-01-04 11:35:42Z enz $
+  $Id: content.c 6 2000-01-04 13:49:50Z enz $
 */
 
 #include <dirent.h>
@@ -104,7 +104,7 @@
 {
     FILE *f;
     Over *ov;
-    int cnt, numb;
+    int numb;
     Str line;
 
     /* Delete old overviews and make room for new ones. */
@@ -116,8 +116,6 @@
     /* read overviews from overview file and store them in the overviews
        list */
     snprintf( cont.file, MAXCHAR, "%s/overview/%s", Cfg_spoolDir(), name ); 
-    if ( cnt == 0 )
-        return;
     f = fopen( cont.file, "r" );
     if ( ! f )
     {