[gst-cvs] gstreamer: configure: remove superfluous return statements at end of AC_TRY_{LINK, COMPILE} blocks

Tim Müller tpm at kemper.freedesktop.org
Tue Apr 13 03:03:56 PDT 2010


Module: gstreamer
Branch: master
Commit: e201e7b7b2a6b378e24d42f6dd873f662de394fc
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=e201e7b7b2a6b378e24d42f6dd873f662de394fc

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Tue Apr 13 10:48:41 2010 +0100

configure: remove superfluous return statements at end of AC_TRY_{LINK,COMPILE} blocks

Spotted by JF Mertens. See #614767.

---

 configure.ac |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3abbee3..a37f0e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -328,7 +328,6 @@ AC_CACHE_CHECK(for __uint128_t, gst_cv_uint128_t,
       static __uint128_t v2 = 10;
       static __uint128_t u;
       u = v1 / v2;
-      return 0;
     ], [
       gst_cv_uint128_t=yes
     ], [
@@ -412,7 +411,6 @@ AC_CACHE_CHECK(for posix timers, gst_cv_posix_timers,
 #if !defined(_POSIX_TIMERS) || _POSIX_TIMERS < 0 || !defined(CLOCK_REALTIME)
 #error Either _POSIX_TIMERS or CLOCK_REALTIME not defined
 #endif
-      return 0;
     ], [
       gst_cv_posix_timers=yes
     ], [
@@ -439,7 +437,6 @@ AC_CACHE_CHECK(for monotonic clock, gst_cv_monotonic_clock,
 #if !defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK < 0 || !defined(CLOCK_MONOTONIC)
 #error Either _POSIX_MONOTONIC_CLOCK or CLOCK_MONOTONIC not defined
 #endif
-      return 0;
     ], [
       gst_cv_monotonic_clock=yes
     ], [





More information about the Gstreamer-commits mailing list