[Beignet] [PATCH] fix typo: blobTempName is assigned but not used
Zhigang Gong
zhigang.gong at linux.intel.com
Fri Feb 14 08:04:33 CET 2014
LGTM, will push latter, thanks.
On Thu, Feb 13, 2014 at 11:59:48AM +0800, Guo Yejun wrote:
>
> 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
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list