Bug 22187

Summary: silence a warning from gcc when compiling finger
Product: Base System Reporter: Andrew Stevenson <andrew>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Andrew Stevenson 2000-10-21 15:20:01 UTC
If you compile finger with -Wall a lot of warnings are produced. Most are about
strftime and %c only returning 2 digits under some (non BSD) systems which I
don't think really matters. One is a suggested parentheses around an && which
this patch addresses. This patch also removes the test for ch being a space
as that will already have been caught by isprint(ch).

How-To-Repeat: 
Compile /usr/bin/finger with -Wall.
Comment 1 ru freebsd_committer freebsd_triage 2000-10-23 13:19:53 UTC
State Changed
From-To: open->closed

Fixed, but why did you remove the (ch == ' ') test in your patch?