Fix lots of warnings all over the place, make inbound buffers of FMOUT const.
[citadel.git] / webcit / marchlist.c
index 175f780e787fe41a29fa445075db7dcbedd1c7a2..990c24fced27a9b72311bf77c9911e6f75a8beda 100644 (file)
@@ -57,8 +57,6 @@ void remove_march(const StrBuf *aaa)
 char *pop_march(int desired_floor)
 {
        static char TheRoom[128];
-       int TheFloor = 0;
-       int TheOrder = 32767;
        int TheWeight = 0;
        int weight;
        struct march *mptr = NULL;
@@ -80,8 +78,10 @@ char *pop_march(int desired_floor)
                if (weight > TheWeight) {
                        TheWeight = weight;
                        strcpy(TheRoom, mptr->march_name);
+/* TODOO: and now????
                        TheFloor = mptr->march_floor;
                        TheOrder = mptr->march_order;
+*/
                }
        }
        return (TheRoom);