test: sctest: fix warnings
authorBrian Norris <banorris@uci.edu>
Fri, 26 Apr 2013 22:29:26 +0000 (15:29 -0700)
committerBrian Norris <banorris@uci.edu>
Fri, 26 Apr 2013 22:29:26 +0000 (15:29 -0700)
commit7a9b7a8caeeb77511af68e65361aad90293a926b
treee0dd11178180d34b3af9efc89062a3f734e24458
parentd28d1a3b7aafbcd2caf80de26721293126830fa8
test: sctest: fix warnings

Perhaps we wanted to print these variables? Anyway, just make them
global, so the warnings will go away:

  gcc -o sctest.o sctest.c -Wall -g -O3 -I.. -I../include -L.. -lmodel
  sctest.c: In function ‘b’:
  sctest.c:20:6: warning: unused variable ‘r1’ [-Wunused-variable]
  sctest.c: In function ‘c’:
  sctest.c:26:6: warning: unused variable ‘r2’ [-Wunused-variable]
  sctest.c: In function ‘d’:
  sctest.c:33:6: warning: unused variable ‘r3’ [-Wunused-variable]
test/sctest.c