Description of problem: I just tried to compile package dos2unix-3.1-19 from package Redhat Fedora Core 3 Test 3. The compiler said dos2unix.c(172): warning #1011: missing return statement at end of non-void function "StripDelimiter" The source code is if (ipFlag->NewLine) { /* add additional LF? */ putc('\n', ipOutF); } } But the function is marked with "int" return type. Suggest add a return statement to the end of the function. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Fixed in dos2unix-3.1-21. Thanks for your report.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-195.html