Changeset 485


Ignore:
Timestamp:
Apr 17, 2011, 10:28:24 AM (6 years ago)
Author:
sam
Message:

lisp: discard unneeded return values from LispSymbol::SetValue? et al.

Location:
abuse/trunk/src/lisp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/lisp/lisp.cpp

    r484 r485  
    31403140}
    31413141
    3142 void *LispSymbol::SetNumber(long num)
     3142void LispSymbol::SetNumber(long num)
    31433143{
    31443144#ifdef TYPE_CHECKING
     
    31543154    else
    31553155        value = new_lisp_number(num);
    3156 
    3157     return value;
    3158 }
    3159 
    3160 void *LispSymbol::SetValue(void *val)
     3156}
     3157
     3158void LispSymbol::SetValue(void *val)
    31613159{
    31623160#ifdef TYPE_CHECKING
     
    31693167#endif
    31703168    value = val;
    3171     return value;
    31723169}
    31733170
  • abuse/trunk/src/lisp/lisp.h

    r484 r485  
    8585
    8686    void SetFunction(void *fun);
    87     void *SetValue(void *value);
    88     void *SetNumber(long num);
     87    void SetValue(void *value);
     88    void SetNumber(long num);
    8989
    9090#ifdef L_PROFILE
Note: See TracChangeset for help on using the changeset viewer.