From a4ddbc49770192d5562e76ff68d4d975233c37a3 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Wed, 5 Jul 2006 22:20:49 +0200 Subject: [PATCH] Fixed more warnings. Rev: src/modules/files/file.c:1.359 --- src/modules/files/file.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/files/file.c b/src/modules/files/file.c index eae8619084..7899166067 100644 --- a/src/modules/files/file.c +++ b/src/modules/files/file.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: file.c,v 1.358 2006/07/05 02:13:47 mast Exp $ +|| $Id: file.c,v 1.359 2006/07/05 20:20:49 mast Exp $ */ #define NO_PIKE_SHORTHAND @@ -4333,21 +4333,21 @@ PIKE_MODULE_INIT o=file_make_object_from_fd(0, FILE_READ , fd_CAN_NONBLOCK); ((struct my_file *)(o->storage))->flags |= FILE_NO_CLOSE_ON_DESTRUCT; - dmalloc_register_fd(0); + (void) dmalloc_register_fd(0); dmalloc_accept_leak_fd(0); add_object_constant("_stdin",o,0); free_object(o); o=file_make_object_from_fd(1, FILE_WRITE, fd_CAN_NONBLOCK); ((struct my_file *)(o->storage))->flags |= FILE_NO_CLOSE_ON_DESTRUCT; - dmalloc_register_fd(1); + (void) dmalloc_register_fd(1); dmalloc_accept_leak_fd(1); add_object_constant("_stdout",o,0); free_object(o); o=file_make_object_from_fd(2, FILE_WRITE, fd_CAN_NONBLOCK); ((struct my_file *)(o->storage))->flags |= FILE_NO_CLOSE_ON_DESTRUCT; - dmalloc_register_fd(2); + (void) dmalloc_register_fd(2); dmalloc_accept_leak_fd(2); add_object_constant("_stderr",o,0); free_object(o); -- GitLab