Closed
Bug 157
Opened 27 years ago
Closed 24 years ago
warning fix : ns/nsprpub/pr/tests/select2.c
Categories
(NSPR :: NSPR, defect, P3)
NSPR
NSPR
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rick, Assigned: wtc)
Details
Created by Rick Osborne (rick@rixsoft.com) on Sunday, April 12, 1998 6:21:26 PM PDT
Additional Details :
(In the continuing quest to eliminate even compiler warnings
... )
Yet another ''I want to return something'' warning, and a
couple of unreferenced vars to boot. Gee, Wally, this is
getting exciting!
--- select2.old.c Wed Apr 08 17:55:15 1998
+++ select2.c Sun Apr 12 02:46:35 1998
@@ -66,3 +66,4 @@
-static Test_Result (int result)
+/* Cast as void to avoid ''no return value'' warnings */
+static void Test_Result (int result)
{
@@ -106,3 +107,4 @@
PRNetAddr serverAddr;
- PRThread *WorkerThread;
+ /* We never use this, so why do we have it here? */
+ /* PRThread *WorkerThread; */
@@ -187,3 +189,4 @@
PRNetAddr serverAddr;
- PRThread *WorkerThread;
+ /* Never use this one, either */
+ /* PRThread *WorkerThread; */
Updated by Wan-Teh Chang (wtc@netscape.com) on Friday, April 24, 1998 12:43:24 PM PDT
Additional Details :
Assigned bug to myself. Closed the bug.
This is fixed in ns/nsprpub/pr/tests/select2.c,
revision 3.2.
Comment 1•26 years ago
|
||
NSPR now has its own Bugzilla product. Moving this bug to the NSPR product.
Comment 3•24 years ago
|
||
marking fixed.
Status: REOPENED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•