Bug 12768

Summary: Compilation warning for fortune.c
Product: Base System Reporter: sjr <sjr>
Component: binAssignee: bill fumerola <billf>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description sjr 1999-07-23 03:50:00 UTC
    When compiling fortune, the following warning occurs:

    fortune.c: In function `form_file_list':
    fortune.c:404: warning: suggest explicit braces to avoid ambiguous `else'
    fortune.c: In function `init_prob':
    fortune.c:921: warning: suggest explicit braces to avoid ambiguous `else'

    This patch adds the (expected) braces.
Comment 1 bill fumerola freebsd_committer freebsd_triage 1999-07-23 04:17:57 UTC
Responsible Changed
From-To: freebsd-bugs->billf

These seem to be my forte recently. 
Comment 2 bill fumerola freebsd_committer freebsd_triage 2000-01-27 01:41:30 UTC
State Changed
From-To: open->closed

Stephen J. Roznowski notes that I already committed this.