[Beignet] [PATCH] fix typo: blobTempName is assigned but not used
Guo Yejun
yejun.guo at intel.com
Thu Feb 13 04:59:48 CET 2014
Signed-off-by: Guo Yejun <yejun.guo at intel.com>
---
backend/src/update_blob_ocl_header.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/update_blob_ocl_header.py b/backend/src/update_blob_ocl_header.py
index 7d6907a..50f2501 100755
--- a/backend/src/update_blob_ocl_header.py
+++ b/backend/src/update_blob_ocl_header.py
@@ -36,7 +36,7 @@ blobFileName = sys.argv[2]
blobTempName = sys.argv[2] + '.tmp'
safeUnlink(blobFileName)
tmplFile = open(sys.argv[1], 'r')
-blob = open(sys.argv[2] + '.tmp', 'w')
+blob = open(blobTempName, 'w')
path = os.path.dirname(sys.argv[1])
if path == '':
path = '.'
--
1.7.9.5
More information about the Beignet
mailing list