Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Mike Frysinger's avatar
    054ea170
    cmd_mem: cmp: unify size code paths · 054ea170
    Mike Frysinger authored
    
    Not only does the source code get simpler, but it also shrinks the
    compiled object code too.
    
    While we're here, tweak the summary message to avoid the plural
    issue.  It isn't that big of a deal, and it's currently wrong
    anyways in the single (1 byte) case:
    	Total of 1 byte were the same
    Grammar wise, that should be "was" rather than "were".  The new
    output people should be able to easily figure out:
    	Total of 1 byte(s) were the same
    	Total of 10 byte(s) were the same
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    054ea170
    History
    cmd_mem: cmp: unify size code paths
    Mike Frysinger authored
    
    Not only does the source code get simpler, but it also shrinks the
    compiled object code too.
    
    While we're here, tweak the summary message to avoid the plural
    issue.  It isn't that big of a deal, and it's currently wrong
    anyways in the single (1 byte) case:
    	Total of 1 byte were the same
    Grammar wise, that should be "was" rather than "were".  The new
    output people should be able to easily figure out:
    	Total of 1 byte(s) were the same
    	Total of 10 byte(s) were the same
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>