git: tip(1): Fix various warnings and errors emitted by clang

John Marino marino at crater.dragonflybsd.org
Wed Oct 22 05:35:15 PDT 2014


commit e314d7e2922acf115d228e9c07f100a3817e8297
Author: John Marino <draco at marino.st>
Date:   Wed Oct 22 14:28:45 2014 +0200

    tip(1): Fix various warnings and errors emitted by clang
    
    The most serious were void/return mismatches, but clang also complained
    about ambiguous brackets and mis-matching printf formats.  It also didn't
    like one particular K&R-formatted function, but I'm not sure why not.

Summary of changes:
 usr.bin/tip/libacu/hayes.c |  4 +++-
 usr.bin/tip/libacu/v3451.c |  2 ++
 usr.bin/tip/libacu/v831.c  |  2 ++
 usr.bin/tip/tip/cmds.c     | 11 +++++++----
 usr.bin/tip/tip/cu.c       |  3 ++-
 usr.bin/tip/tip/log.c      |  9 ++++++---
 usr.bin/tip/tip/remote.c   |  6 ++++--
 usr.bin/tip/tip/tip.c      |  5 ++---
 usr.bin/tip/tip/value.c    |  9 ++++++---
 9 files changed, 34 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e314d7e2922acf115d228e9c07f100a3817e8297


-- 
DragonFly BSD source repository



More information about the Commits mailing list