AppPkg/Applications/Python: Explicitly initialize variables before use to keep newer compilers happy.

Explicitly initialize variables before any potential use.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15819 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Daryl McDaniel
2014-08-18 23:00:50 +00:00
committed by darylm503
parent 838b31a68c
commit de08c53b0f
5 changed files with 18 additions and 16 deletions

View File

@ -4263,9 +4263,9 @@ PyString_Format(PyObject *format, PyObject *args)
int c = '\0';
int fill;
int isnumok;
PyObject *v = NULL;
PyObject *temp = NULL;
char *pbuf;
PyObject *v = NULL;
PyObject *temp = NULL;
char *pbuf = NULL;
int sign;
Py_ssize_t len;
char formatbuf[FORMATBUFLEN];