[x265-commits] [x265] param: avoid spurious MSVC warning about buf being possib...
Steve Borho
steve at borho.org
Thu Jul 3 08:01:35 CEST 2014
details: http://hg.videolan.org/x265/rev/e8ebfa3cf395
branches:
changeset: 7231:e8ebfa3cf395
user: Steve Borho <steve at borho.org>
date: Thu Jul 03 01:00:38 2014 -0500
description:
param: avoid spurious MSVC warning about buf being possibly uninitialized
diffstat:
source/common/param.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 85dce645d0fc -r e8ebfa3cf395 source/common/param.cpp
--- a/source/common/param.cpp Thu Jul 03 00:57:58 2014 -0500
+++ b/source/common/param.cpp Thu Jul 03 01:00:38 2014 -0500
@@ -1305,7 +1305,7 @@ bool parseLambdaFile(x265_param *param)
}
char line[2048];
- char *toksave = NULL, *tok = NULL, *buf;
+ char *toksave = NULL, *tok = NULL, *buf = NULL;
for (int t = 0; t < 3; t++)
{
More information about the x265-commits
mailing list