From ef30d45409b0ba807e4bbfce8811bbdbb6a73d06 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 6 Aug 1999 22:13:50 +0000 Subject: [PATCH] fixed sun pro warnings --- src/cxxTemplates/test/resourceLibTest.cc | 7 ++++--- src/libCom/cxxTemplates/test/resourceLibTest.cc | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/cxxTemplates/test/resourceLibTest.cc b/src/cxxTemplates/test/resourceLibTest.cc index ce90e255b..8217c77cc 100644 --- a/src/cxxTemplates/test/resourceLibTest.cc +++ b/src/cxxTemplates/test/resourceLibTest.cc @@ -20,7 +20,7 @@ class albert : public intId, public tsSLNode { public: albert (resTable< albert, intId > &atIn, unsigned idIn) : at(atIn), intId(idIn) {} - void show (unsigned level) + void show (unsigned /* level */) { } void destroy() @@ -84,7 +84,7 @@ void jane::testTraverse() template class resTable; #endif -main() +int main() { unsigned i; clock_t start, finish; @@ -251,4 +251,5 @@ main() void empty() { -} \ No newline at end of file +} + diff --git a/src/libCom/cxxTemplates/test/resourceLibTest.cc b/src/libCom/cxxTemplates/test/resourceLibTest.cc index ce90e255b..8217c77cc 100644 --- a/src/libCom/cxxTemplates/test/resourceLibTest.cc +++ b/src/libCom/cxxTemplates/test/resourceLibTest.cc @@ -20,7 +20,7 @@ class albert : public intId, public tsSLNode { public: albert (resTable< albert, intId > &atIn, unsigned idIn) : at(atIn), intId(idIn) {} - void show (unsigned level) + void show (unsigned /* level */) { } void destroy() @@ -84,7 +84,7 @@ void jane::testTraverse() template class resTable; #endif -main() +int main() { unsigned i; clock_t start, finish; @@ -251,4 +251,5 @@ main() void empty() { -} \ No newline at end of file +} +