diff options
author | Guido van Rossum <guido@python.org> | 1998-04-10 22:27:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-10 22:27:42 (GMT) |
commit | 730806d3d9bd8c54466e4a864b2b1f94df4413d2 (patch) | |
tree | 95ef041ad6e66f6cfbee3b6f84de6542c2cd36a7 /Modules/bsddbmodule.c | |
parent | 1109fbca76d08bb2f11f2899580d2ab7dbe796fa (diff) | |
download | cpython-730806d3d9bd8c54466e4a864b2b1f94df4413d2.zip cpython-730806d3d9bd8c54466e4a864b2b1f94df4413d2.tar.gz cpython-730806d3d9bd8c54466e4a864b2b1f94df4413d2.tar.bz2 |
Make new gcc -Wall happy
Diffstat (limited to 'Modules/bsddbmodule.c')
-rw-r--r-- | Modules/bsddbmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/bsddbmodule.c b/Modules/bsddbmodule.c index b3474c4..2f0d05d 100644 --- a/Modules/bsddbmodule.c +++ b/Modules/bsddbmodule.c @@ -433,7 +433,7 @@ bsddb_keys(dp, args) { PyObject *list, *item; DBT krec, drec; - char *data,buf[4096]; + char *data=NULL,buf[4096]; int status; int err; @@ -556,8 +556,8 @@ bsddb_seq(dp, args, sequence_request) { int status; DBT krec, drec; - char *kdata,kbuf[4096]; - char *ddata,dbuf[4096]; + char *kdata=NULL,kbuf[4096]; + char *ddata=NULL,dbuf[4096]; PyObject *result; if (!PyArg_NoArgs(args)) |