Project

General

Profile

Revision 441

Added by Jason knichel about 16 years ago

got rid of some compiler warnings

View differences:

trunk/code/projects/colonet/ColonetServer/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,
trunk/code/projects/colonet/ColonetServer/ColonetServer.cpp
30 30

  
31 31
#define u_int32_t unsigned
32 32

  
33
static ConnectionPool* connection_pool;
33
//TODO: is this needed anymore?  it still compiles when i comment it out
34
//static ConnectionPool* connection_pool;
34 35

  
35 36
/**
36 37
 * @brief Default constructor for ColonetServer
trunk/code/projects/colonet/ColonetServer/Makefile
36 36
	cd ../../libwireless/lib; make colonet
37 37

  
38 38
ColonetServer: ../../libwireless/lib/libwireless_colonet.a $(COLONETCPPFILES) $(COLONETFILES) $(LOGGINGFILES) $(COLONETHEADERFILES)
39
	@echo "-----------------------"
39 40
	@echo "---begin compilation---"
40 41
	@echo ""
41 42
	@echo "---create object files---"
......
49 50
	@echo "---finish linking files---"
50 51
	@echo ""
51 52
	@echo "---finish compilation---"
53
	@echo "-----------------------"
52 54

  
53 55
clean:
54 56
	rm -rf *.o ColonetServer *~

Also available in: Unified diff