When compiling Pike with clang I get massive amounts of warnings for
unused variables. This detracts quite a bit from finding more serious
errors and I've got a patch ready to remove them. However, before
pushing that I'd like to hear if people have objections to changing
declarations like in these examples:

- static void exit_memory(struct object *o)
+ static void exit_memory(struct object *UNUSED(o))

and

- static int got_udp_event (struct fd_callback_box *box, int event)
+ static int got_udp_event (struct fd_callback_box *box, int DEBUGUSED(event))
  • War... Jonas Walld�n @ Pike developers forum
    • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
    • ... Mirar @ Pike developers forum
      • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
        • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
          • ... Jonas Walldén @ Pike developers forum
            • ... Jonas Walldén @ Pike developers forum
              • ... Arne Goedeke
                • ... Jonas Walldén @ Pike developers forum
                • ... Arne Goedeke
                • ... Jonas Walldén @ Pike developers forum

Reply via email to