diff --git a/src/modules/files/file.c b/src/modules/files/file.c
index eae86190843b9f000a92fcafc13763f24eafc83f..7899166067e9d083c0f00e8f4881219896c556ef 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);