Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2002:
[Freeciv-Dev] [Patch] Various cleanups (PR#2059)
Home

[Freeciv-Dev] [Patch] Various cleanups (PR#2059)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] [Patch] Various cleanups (PR#2059)
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Sat, 14 Sep 2002 04:37:56 -0700 (PDT)

The attached patch is the result of some splint messages. Changes:
 - ignore unused return values
 - bool cleanups
 - unreachable code
 - s/if(a)/if(a!=0)/
 - adding static
 - adding missing elements

and I also removed _bv_check_mask_int and cleaned bv_check_mask
up. The old code was unportable (casting from char * to int *) and it
was a premature optimization.

BTW: names starting with "_" are reserved for system libraries.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  Two OS engineers facing a petri net chart:
        "dead lock in four moves!"

Attachment: cleanup1.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [Patch] Various cleanups (PR#2059), Raimar Falke <=