-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build with GCC 5.1 and revert switch to clang
git-svn-id: file:///srv/repos/svn-community/svn@135886 9fca08f4-af9d-4005-b8df-a31f2cc04f65
- Loading branch information
foutrelis
authored and
svntogit
committed
Jun 26, 2015
1 parent
ea26807
commit 06a5e79
Showing
2 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From 4e3371d2e37512c5fa8b1f297ad9af52417fec9e Mon Sep 17 00:00:00 2001 | ||
From: Larry Gritz <lg@larrygritz.com> | ||
Date: Wed, 11 Feb 2015 15:27:40 -0800 | ||
Subject: [PATCH] Fix compiler warning about unused variable | ||
|
||
--- | ||
src/ptex.imageio/ptex/PtexHalf.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/ptex.imageio/ptex/PtexHalf.cpp b/src/ptex.imageio/ptex/PtexHalf.cpp | ||
index a880971..3c17369 100644 | ||
--- a/src/ptex.imageio/ptex/PtexHalf.cpp | ||
+++ b/src/ptex.imageio/ptex/PtexHalf.cpp | ||
@@ -80,7 +80,7 @@ static bool PtexHalfInit() | ||
return 1; | ||
} | ||
|
||
-static bool PtexHalfInitialized = PtexHalfInit(); | ||
+bool PtexHalfInitialized = PtexHalfInit(); | ||
|
||
|
||
/** Handle exceptional cases for half-to-float conversion */ |