DragonFly BSD
DragonFly commits List (threaded) for 2011-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Revert "objformat(1): Remove an unneeded default case."


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 May 2011 15:46:25 -0700 (PDT)

commit 05e72d3a88195dae72ed3ce30cab984cdb97969c
Author: Sascha Wildner <saw@online.de>
Date:   Sat May 21 00:43:57 2011 +0200

    Revert "objformat(1): Remove an unneeded default case."
    
    This reverts commit 6308114003c9933e09f3d6362af7e14638b6c223.
    
    There are numerous ways to pass garbage to the switch(), even with
    an enum, so we want the default.
    
    Pointed-out-by: aggelos

Summary of changes:
 usr.bin/objformat/objformat.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/05e72d3a88195dae72ed3ce30cab984cdb97969c


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]