Revision 457
put in some dummy assignments to get rid of some compiler warnings
colonet_wireless.cpp | ||
---|---|---|
170 | 170 |
} |
171 | 171 |
|
172 | 172 |
static void handle_response(int frame, int received) { |
173 |
//TODO: These are just here to get rid of compiler warnings |
|
174 |
frame = frame; |
|
175 |
received = received; |
|
173 | 176 |
//printf("got response.\n"); |
174 | 177 |
} |
175 | 178 |
|
176 | 179 |
static void handle_receive(char type, int source, unsigned char* data, int len) { |
180 |
//TODO: These are just here to get rid of compiler warnings |
|
181 |
type = type; |
|
182 |
|
|
177 | 183 |
printf("handle receive\n"); |
178 | 184 |
|
179 | 185 |
ColonetRobotServerPacket* pkt = (ColonetRobotServerPacket*)data; |
... | ... | |
221 | 227 |
* @return NULL |
222 | 228 |
*/ |
223 | 229 |
static void* listen(void* args) { |
230 |
//TODO: These are just here to get rid of compiler warnings |
|
231 |
args = args; |
|
232 |
|
|
224 | 233 |
printf("Called listen.\n"); |
225 | 234 |
|
226 | 235 |
PacketGroupHandler pgh = {COLONET_PACKET_GROUP_ID, |
Also available in: Unified diff