]> git.pond.sub.org Git - empserver/blobdiff - src/lib/update/revolt.c
Clean up dead stores
[empserver] / src / lib / update / revolt.c
index 23305d87eafc5a1842d43bf699349ca6bc9e961a..da8b22849dc57db4645e008944171405a7657398 100644 (file)
@@ -62,7 +62,6 @@ revolt(struct sctstr *sp)
     if (che > (civ + uw) * 3)
        return;
     che_uw = 0;
-    che_civ = 0;
     /* che due to civilian unrest */
     n = 10 - (random() % 20);
     che_civ = 3 + (civ * n / 500);
@@ -254,7 +253,6 @@ guerrilla(struct sctstr *sp)
         * guerrillas have to resort to blowing things up.
         * Note this disrupts work in the sector.
         */
-       n = 0;
        n = (random() % 10) + (random() % che);
        if (n > 100)
            n = 100;