Changeset 158 for trunk/gsdl/src/recpt


Ignore:
Timestamp:
1999-02-11T14:24:06+13:00 (25 years ago)
Author:
rjmcnab
Message:

Fixed a few compiler warnings.

Location:
trunk/gsdl/src/recpt
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/Makefile

    r155 r158  
    1111AR = ar
    1212CC = gcc
    13 CCFLAGS = -g -Wall
     13CCFLAGS = -g -Wall -Wunused -pedantic -W
    1414DEFS = -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DUSE_FASTCGI -DGSDLSERVER
    1515INCLUDES = -I../../lib -I../../packages/mg-1.3d -I../../packages/mg-1.3d/lib \
  • trunk/gsdl/src/recpt/action.cpp

    r155 r158  
    1212/*
    1313   $Log$
     14   Revision 1.5  1999/02/11 01:24:04  rjmcnab
     15
     16   Fixed a few compiler warnings.
     17
    1418   Revision 1.4  1999/02/08 01:27:59  rjmcnab
    1519
     
    6468// then the function will return false and no page content
    6569// should be produced based on the arguments.
    66 bool action::check_cgiargs (cgiargsclass &args, ostream &logout) {
     70bool action::check_cgiargs (cgiargsclass &/*args*/, ostream &/*logout*/) {
    6771  return true;
    6872}
  • trunk/gsdl/src/recpt/cgiwrapper.cpp

    r155 r158  
    1212/*
    1313   $Log$
     14   Revision 1.5  1999/02/11 01:24:04  rjmcnab
     15
     16   Fixed a few compiler warnings.
     17
    1418   Revision 1.4  1999/02/08 01:28:01  rjmcnab
    1519
     
    187191
    188192
    189 static void page_errorinit (const text_t &gsdlhome, text_t &errorpage) {
     193static void page_errorinit (const text_t &/*gsdlhome*/, text_t &errorpage) {
    190194  errorpage += "Content-type: text/html\n\n";
    191195
     
    225229}
    226230
    227 static void page_errorparseargs (const text_t &gsdlhome, text_t &errorpage) {
     231static void page_errorparseargs (const text_t &/*gsdlhome*/, text_t &errorpage) {
    228232  errorpage += "Content-type: text/html\n\n";
    229233
     
    259263}
    260264
    261 static void page_errorcgipage (const text_t &gsdlhome, text_t &errorpage) {
     265static void page_errorcgipage (const text_t &/*gsdlhome*/, text_t &errorpage) {
    262266  errorpage += "Content-type: text/html\n\n";
    263267
  • trunk/gsdl/src/recpt/htmlgen.cpp

    r155 r158  
    1212/*
    1313   $Log$
     14   Revision 1.3  1999/02/11 01:24:04  rjmcnab
     15
     16   Fixed a few compiler warnings.
     17
    1418   Revision 1.2  1999/02/08 01:28:02  rjmcnab
    1519
     
    4246// outputs the resulting text string
    4347void highlighttext (text_tarray &termvars, displayclass &disp, text_t &text,
    44             outconvertclass &outconvert, ostream &textout, ostream &logout) {
     48            outconvertclass &outconvert, ostream &textout, ostream &/*logout*/) {
    4549  map<text_t, int, lttext_t> terms;
    4650  map<text_t, int, lttext_t>::const_iterator it;
  • trunk/gsdl/src/recpt/receptionist.cpp

    r155 r158  
    1212/*
    1313   $Log$
     14   Revision 1.6  1999/02/11 01:24:05  rjmcnab
     15
     16   Fixed a few compiler warnings.
     17
    1418   Revision 1.5  1999/02/08 01:28:02  rjmcnab
    1519
     
    253257// returns the compressed argument ("e") corresponding to the argument
    254258// list. This can be used to save preferences between sessions.
    255 text_t receptionist::get_compressed_arg (const cgiargsclass &args) {
     259text_t receptionist::get_compressed_arg (const cgiargsclass &/*args*/) {
    256260  return "";
    257261}
     
    409413// error is found it will return false and no cgi page should
    410414// be created using the arguments.
    411 bool receptionist::check_mainargs (cgiargsclass &args, ostream &logout) {
     415bool receptionist::check_mainargs (cgiargsclass &args, ostream &/*logout*/) {
    412416  // if this receptionist is running in collection dependant mode
    413417  // then it should always set the collection argument to the
  • trunk/gsdl/src/recpt/statusaction.cpp

    r157 r158  
    1212/*
    1313   $Log$
     14   Revision 1.2  1999/02/11 01:24:06  rjmcnab
     15
     16   Fixed a few compiler warnings.
     17
    1418   Revision 1.1  1999/02/11 01:01:27  rjmcnab
    1519
     
    4145}
    4246
    43 bool statusaction::check_cgiargs (cgiargsclass &args, ostream &logout) {
     47bool statusaction::check_cgiargs (cgiargsclass &/*args*/, ostream &/*logout*/) {
    4448  // don't want to check anything yet.
    4549  return true;
    4650}
    4751
    48 void statusaction::get_cgihead_info (cgiargsclass &args, response_t &response,
    49                      text_t &response_data, ostream &logout) {
     52void statusaction::get_cgihead_info (cgiargsclass &/*args*/, response_t &response,
     53                     text_t &response_data, ostream &/*logout*/) {
    5054  response = content;
    5155  response_data = "text/html";
    5256}
    5357
    54 bool statusaction::do_action (cgiargsclass &args, outconvertclass &outconvert,
    55                   ostream &textout, ostream &logout) {
     58bool statusaction::do_action (cgiargsclass &/*args*/, outconvertclass &outconvert,
     59                  ostream &textout, ostream &/*logout*/) {
    5660  textout << outconvert << "<html>\n";
    5761  textout << outconvert << "<head>\n";
Note: See TracChangeset for help on using the changeset viewer.