openafs-kill-dead-code-20050403
[openafs.git] / src / vfsck / utilities.c
index b247f2e..c9be6e0 100644 (file)
@@ -89,7 +89,7 @@ long diskreads, totalreads;   /* Disk cache statistics */
 long lseek();
 #endif
 char *malloc();
-#if    defined(AFS_SUN_ENV) || defined(AFS_DEC_ENV)
+#if    defined(AFS_SUN_ENV)
 extern int iscorrupt;
 #endif
 #ifdef AFS_SUN_ENV
@@ -149,7 +149,7 @@ reply(question)
     printf("\n");
     if (!persevere && (nflag || fswritefd < 0)) {
        printf("%s? no\n\n", question);
-#if    defined(AFS_SUN_ENV) || defined(AFS_DEC_ENV)
+#if    defined(AFS_SUN_ENV) 
        iscorrupt = 1;          /* known to be corrupt */
 #endif
        return (0);
@@ -172,7 +172,7 @@ reply(question)
 #ifdef AFS_HPUX_ENV
     fixed = 0;
 #endif
-#if    defined(AFS_SUN_ENV) || defined(AFS_DEC_ENV)
+#if    defined(AFS_SUN_ENV)
     iscorrupt = 1;             /* known to be corrupt */
 #endif
     return (0);
@@ -282,9 +282,6 @@ flush(fd, bp)
        pfatal("WRITING %sZERO'ED BLOCK %d TO DISK\n",
               (bp->b_errs == bp->b_size / dev_bsize) ? "" : "PARTIALLY ",
               bp->b_bno);
-#ifdef AFS_DEC_ENV
-       iscorrupt = 1;
-#endif
     }
     bp->b_dirty = 0;
     bp->b_errs = 0;