From: Guo Yejun Date: Thu, 13 Feb 2014 03:59:48 +0000 (+0800) Subject: fix typo: blobTempName is assigned but not used X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c09c658110a70594b6b026fac27a7ffcd0d48382;p=contrib%2Fbeignet.git fix typo: blobTempName is assigned but not used Signed-off-by: Guo Yejun Reviewed-by: Zhigang Gong --- 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 = '.'