Ignore:
Timestamp:
Mar 2, 2008, 12:52:07 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Fix a few more warnings.
  • Remove -Wshadow from the warnings because it is too verbose for now.
  • Remove warning flags that have no meaning in C++.
File:
1 edited

Legend:

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

    r39 r40  
    268268                current_object = this;
    269269                void *m = mark_heap( TMP_SPACE );
    270                 void *ret = eval_function( (lisp_symbol *)ns, NULL );
     270                (void)eval_function( (lisp_symbol *)ns, NULL );
    271271                restore_heap( m, TMP_SPACE );
    272272        }
     
    734734  else
    735735  {
    736     view *v=controller();
     736    //view *v=controller();
    737737
    738738    if (fade_count())     
     
    931931    int fxv=sfxvel(),fyv=sfyvel();
    932932    fxv+=fxa;  fyv+=fya;   
    933     int32_t xv=xvel()+xa+(fxv>>8);
     933    //int32_t xv=xvel()+xa+(fxv>>8);
    934934    set_xvel(xvel()+xa+(fxv>>8));
    935935    set_yvel(yvel()+ya+(fyv>>8));
     
    14531453    int fxv=sfxvel(),fyv=sfyvel();
    14541454    fxv+=fxa;  fyv+=fya;   
    1455     int32_t xv=xvel()+xa+(fxv>>8);
     1455    //int32_t xv=xvel()+xa+(fxv>>8);
    14561456    set_xvel(xvel()+xa+(fxv>>8));
    14571457    set_yvel(yvel()+ya+(fyv>>8));
Note: See TracChangeset for help on using the changeset viewer.