Revision: 7875
http://playerstage.svn.sourceforge.net/playerstage/?rev=7875&view=rev
Author: thjc
Date: 2009-06-23 07:25:07 +0000 (Tue, 23 Jun 2009)
Log Message:
-----------
fix missing return value and remove unused var
Modified Paths:
--------------
code/stage/trunk/libstageplugin/p_aio.cc
Modified: code/stage/trunk/libstageplugin/p_aio.cc
===================================================================
--- code/stage/trunk/libstageplugin/p_aio.cc 2009-06-23 06:22:23 UTC (rev
7874)
+++ code/stage/trunk/libstageplugin/p_aio.cc 2009-06-23 07:25:07 UTC (rev
7875)
@@ -66,7 +66,7 @@
player_msghdr_t* hdr,
void* data)
{
- Stg::ModelLoadCell* mod = (Stg::ModelLoadCell*)this->mod;
+ //Stg::ModelLoadCell* mod = (Stg::ModelLoadCell*)this->mod;
// Is it a request to set the voltage?
if(Message::MatchMessage(hdr, PLAYER_MSGTYPE_REQ,
@@ -76,4 +76,5 @@
player_aio_cmd* cmd = (player_aio_cmd*)data;
PRINT_WARN2( "Got request to set AIO voltage %d to %f. Should not
happen, AIO currently only works for load cells!\n", cmd->id, cmd->voltage );
}
+ return -1;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit