summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2018-04-20 09:18:54 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-04-20 09:18:54 (GMT)
commit2514afaf0c1975a8ab7e9346a46348497cc0dd7f (patch) (side-by-side diff)
treed5e274205921efa92ff004d23517751b8bd1288b
parent44a3ae866bf949b0ca5106ecfb8c5e3fda4b9af8 (diff)
downloadfileserv-2514afaf0c1975a8ab7e9346a46348497cc0dd7f.tar.gz
fileserv-2514afaf0c1975a8ab7e9346a46348497cc0dd7f.tar.bz2
Bugfix
* mimetypes/err.c (mimetypes_err_format): Initialize rc
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--mimetypes/err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mimetypes/err.c b/mimetypes/err.c
index be5002e..125bd2f 100644
--- a/mimetypes/err.c
+++ b/mimetypes/err.c
@@ -14,7 +14,7 @@ mimetypes_error_format (char **pbuf, size_t *psize,
char *buf;
size_t buflen;
ssize_t n;
- int rc;
+ int rc = 0;
if (lr)
{

Return to:

Send suggestions and report system problems to the System administrator.