# [PATCH 0/9] misc. cleanups

1 messages from 2007-03-07 to 2007-03-07. Participants: Shawn O. Pearce.
Thread: https://gitlist.dev/t/7125

## Shawn O. Pearce, 2007-03-07 01:44

Subject: [PATCH 0/9] misc. cleanups
Message-ID: <20070307014403.GA26482@spearce.org>
URL: https://gitlist.dev/e/20070307014403.GA26482%40spearce.org

```
This is a series of various cleanups that I have pending at the
front of my pack v4 topic.  The earlier ones are annoying nits,
the later ones fix compiler errors caused by compiling with:

--snip--
  CFLAGS += -Wall -ansi -pedantic -std=c99
  
  ifdef strict
          CFLAGS += -Werror
          CFLAGS += -Wfour-char-constants
          CFLAGS += -fnon-lvalue-assign
          CFLAGS += -Wdeclaration-after-statement
          CFLAGS += -Wpointer-arith
          CFLAGS += -Wbad-function-cast
          CFLAGS += -Wcast-align
          CFLAGS += -Wwrite-strings
          CFLAGS += -Wshorten-64-to-32
  
          # No, currently a huge set.
          #CFLAGS += -Wsign-compare
  
          # No, only in diffcore-rename and that's ok.
          #CFLAGS += -Wfloat-equal
  
          # No, unused parameters, -Wsign-compare, missing initializers.
          # CFLAGS += -Wextra
  
          # No, memcmp trips on signed/unsigned conversion.
          # CFLAGS += -Wconversion
  endif
--snap--

-- 
Shawn.

```
