summaryrefslogtreecommitdiffstats
path: root/pcilib/py.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-10-13 00:40:04 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-10-13 00:40:04 +0200
commit981a4dafac2d2e7ed237cb31af68c7bf2cee8665 (patch)
tree4491e77b8a441565a084f4b169aa334977f8b0c7 /pcilib/py.c
parentf13867f64fcba24ef2cb9d726b5ee1082ac1a8b9 (diff)
downloadpcitool-981a4dafac2d2e7ed237cb31af68c7bf2cee8665.tar.gz
pcitool-981a4dafac2d2e7ed237cb31af68c7bf2cee8665.tar.bz2
pcitool-981a4dafac2d2e7ed237cb31af68c7bf2cee8665.tar.xz
pcitool-981a4dafac2d2e7ed237cb31af68c7bf2cee8665.zip
Support transform views
Diffstat (limited to 'pcilib/py.c')
-rw-r--r--pcilib/py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcilib/py.c b/pcilib/py.c
index 2248892..6aaa22f 100644
--- a/pcilib/py.c
+++ b/pcilib/py.c
@@ -63,7 +63,7 @@ static int pcilib_py_realloc_string(pcilib_t *ctx, size_t required, size_t *size
static char *pcilib_py_parse_string(pcilib_t *ctx, const char *codestr, pcilib_value_t *value) {
int i;
int err = 0;
- pcilib_value_t val;
+ pcilib_value_t val = {0};
pcilib_register_value_t regval;
char save;