| Summary: | Compilation warning for fortune.c | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | sjr <sjr> | ||||
| Component: | bin | Assignee: | bill fumerola <billf> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.0-CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-bugs->billf These seem to be my forte recently. State Changed From-To: open->closed Stephen J. Roznowski notes that I already committed this. |
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.