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

Sascha Wildner swildner at crater.dragonflybsd.org
Fri May 20 15:47:42 PDT 2011


commit 05e72d3a88195dae72ed3ce30cab984cdb97969c
Author: Sascha Wildner <saw at 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





More information about the Commits mailing list