Revision 441
got rid of some compiler warnings
colonet_wireless.cpp | ||
---|---|---|
170 | 170 |
} |
171 | 171 |
|
172 | 172 |
static void handle_response(int frame, int received) { |
173 |
//TODO: remove these assignments. they are just here to stop getting compile warnings for not being used |
|
174 |
frame = frame; |
|
175 |
received =received; |
|
176 |
|
|
173 | 177 |
//printf("got response.\n"); |
174 | 178 |
} |
175 | 179 |
|
176 | 180 |
static void handle_receive(char type, int source, unsigned char* data, int len) { |
181 |
//TODO: remove this assignment. it is just here to stop getting compile warnings for not being used |
|
182 |
type=type; |
|
183 |
|
|
177 | 184 |
ColonetRobotServerPacket* pkt = (ColonetRobotServerPacket*)data; |
178 | 185 |
|
179 | 186 |
if (logging_enabled) { |
... | ... | |
202 | 209 |
* @return NULL |
203 | 210 |
*/ |
204 | 211 |
static void* listen(void* args) { |
212 |
//TODO: remove this assignment. it is just here to stop getting compile warnings for not being used |
|
213 |
args = args; |
|
214 |
|
|
205 | 215 |
printf("Called listen.\n"); |
206 | 216 |
|
207 | 217 |
PacketGroupHandler pgh = {COLONET_PACKET_GROUP_ID, |
Also available in: Unified diff