Description of problem: I just tried to compile package dvdrtools-0.1.5-1, from Redhat Fedora Core 1. The compiler said drv_mmc.c(1519): warning #1011: missing return statement at end of non-void function "close_track_mdvd" The source code is LOCAL int close_track_mdvd(SCSI *scgp, int track, track_t *trackp) { int ret; if (!is_packet(trackp)) return (0); if (scsi_flush_cache(scgp) < 0) { printf("Trouble flushing the cache\n"); return -1; } if (!is_noclose(trackp)) { ret = scsi_close_tr_session(scgp, 1, track, FALSE); wait_unit_ready(scgp, 300); return (ret); } } I'm not sure if it is required or not, but it would certainly be prudent software engineering to put a return statement at the end of the definition of the routine close_track_mdvd. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
thx for spotting this!