[Mesa-dev] [PATCH 4/4] mesa: remove MESA_GIT_SHA1 guard

Emil Velikov emil.l.velikov at gmail.com
Mon May 30 12:46:11 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

As of a few commits ago the header will always contain the macro.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/mesa/main/version.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 7138cf3..74e06f9 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -122,9 +122,7 @@ create_version_string(struct gl_context *ctx, const char *prefix)
    if (ctx->VersionString) {
       _mesa_snprintf(ctx->VersionString, max,
 		     "%s%u.%u%s Mesa " PACKAGE_VERSION
-#ifdef MESA_GIT_SHA1
 		     " (" MESA_GIT_SHA1 ")"
-#endif
 		     ,
 		     prefix,
 		     ctx->Version / 10, ctx->Version % 10,
-- 
2.8.2



More information about the mesa-dev mailing list