Description: Do not return a uninitialized value in slgdbm_store
 Assume that, when the gdbm_store function is not executed, then there
 is an error and return the value -1. According to the libgdm
 documentation, the value -1 indicates that “an error occurred which
 prevented the item from being stored in the database.”
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: https://lists.jedsoft.org/lists/slang-devel/2021/0000019.html
Last-Update: 2021-12-02

--- slgdbm-1.7.1.orig/gdbm-module.c
+++ slgdbm-1.7.1/gdbm-module.c
@@ -118,7 +118,7 @@ static int slgdbm_store(char *key, char
 {
    GDBM_Type *p;
    SLang_MMT_Type *mmt;
-   int ret;
+   int ret = -1;
    datum k,v;
    k.dptr=key;
    k.dsize=strlen(key);
