From: Antoine Verheijen Date: Mon, 15 Mar 2010 19:49:31 +0000 (-0600) Subject: Remove return of value for afs_MarinerLogFetch() X-Git-Tag: openafs-devel-1_5_73~56 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=8ba939e12636d573404d2777505a61608a4f3bd8 Remove return of value for afs_MarinerLogFetch() afs_MarinerLogFetch(), a void routine, attempts to return a value. While gcc (amongst others) merely issues a warning about this, the Sun Studio C compiler gets cranky (at least on x86) and treats it as a hard error, thereby aborting the build. Since there actually is no value to return, this update simply removes the attempt. Change-Id: Ic89fb05380a25a433f9c3b9fa57962f215348d95 Reviewed-on: http://gerrit.openafs.org/1574 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_mariner.c b/src/afs/afs_mariner.c index 66711dc..6912eed 100644 --- a/src/afs/afs_mariner.c +++ b/src/afs/afs_mariner.c @@ -71,7 +71,7 @@ void afs_MarinerLogFetch(register struct vcache *avc, register afs_int32 off, register afs_int32 bytes, register afs_int32 idx) { - return afs_MarinerLog("fetch$Fetching", avc); + afs_MarinerLog("fetch$Fetching", avc); } /*afs_MarinerLogFetch */ void