Vanilla Netrek Server Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[VANILLA-L:870] Re: [VANILLA-L:869] Bug Question
On Thu, 14 May 1998, Darryl Palmer wrote:
> I was looking at the vanilla source code, version 2.7 pl 7, and I found
> something that looked a bit strange. In interface.c there is a function
> called repeat message, but I don't think it works correctly. I am including
> it in because it is so short:
>
> repeat_message()
> {
> if (++lastm == MAXMESSAGE) ;
> lastm = 0;
> }
>
> The if line maybe shouldn't have the semicolon on the end.
It is difficult to tell - the function is not called anywhere in the code.
As such, it is not possible to infer what the function is intended to do.
This code is just "dead wood" - if it irks you, just remove it entirely.
--
------------------------------------------------------------------------
| Kevin O'Connor "BTW, IMHO we need a FAQ for |
| koconnor@acsu.buffalo.edu 'IMHO', 'FAQ', 'BTW', etc. !" |
------------------------------------------------------------------------
+
++ Vanilla-l Mailing List ++
To unsubscribe: send "unsubscribe vanilla-l" to majordomo@real-time.com
For more information: http://archives.real-time.com