bbaa4fc7ed
Submitted by Jacob Meuser <jakemsr@clipper.net>. QCad is a free open-source 2D CAD system for *nix. The developers' main goals are to build a stable, fast and easy to use CAD for everyone. One doesn't need any knowledge of a CAD program to start working with QCad.
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
$OpenBSD: patch-rlog_cpp,v 1.1.1.1 2001/08/11 14:45:26 naddy Exp $
|
|
--- rlog.cpp.orig Sun Mar 25 03:17:10 2001
|
|
+++ rlog.cpp Thu Aug 9 02:13:34 2001
|
|
@@ -82,9 +82,10 @@ RLog::~RLog()
|
|
// Log string values:
|
|
//
|
|
void
|
|
-RLog::log(const char* _log)
|
|
+RLog::log(const char*)
|
|
{
|
|
#ifdef DEF_RDEBUG
|
|
+char* _log;
|
|
*this << _log;
|
|
file->flush();
|
|
#endif
|
|
@@ -95,9 +96,10 @@ RLog::log(const char* _log)
|
|
// Log int values:
|
|
//
|
|
void
|
|
-RLog::log(int _log)
|
|
+RLog::log(int)
|
|
{
|
|
#ifdef DEF_RDEBUG
|
|
+int _log;
|
|
*this << _log;
|
|
file->flush();
|
|
#endif
|
|
@@ -108,9 +110,10 @@ RLog::log(int _log)
|
|
// Log double values:
|
|
//
|
|
void
|
|
-RLog::log(double _log)
|
|
+RLog::log(double)
|
|
{
|
|
#ifdef DEF_RDEBUG
|
|
+double _log;
|
|
*this << _log;
|
|
file->flush();
|
|
#endif
|
|
@@ -121,9 +124,10 @@ RLog::log(double _log)
|
|
// Log char values:
|
|
//
|
|
void
|
|
-RLog::log(char _log)
|
|
+RLog::log(char)
|
|
{
|
|
#ifdef DEF_RDEBUG
|
|
+char _log;
|
|
*this << _log;
|
|
file->flush();
|
|
#endif
|
|
@@ -135,9 +139,10 @@ RLog::log(char _log)
|
|
//
|
|
#ifndef DEF_SOLARIS
|
|
void
|
|
-RLog::log(bool _log)
|
|
+RLog::log(bool)
|
|
{
|
|
#ifdef DEF_RDEBUG
|
|
+bool _log;
|
|
if(_log) *this << "true";
|
|
else *this << "false";
|
|
file->flush();
|