[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5371] removed unused arguments warning in booz_ins_
From: |
antoine drouin |
Subject: |
[paparazzi-commits] [5371] removed unused arguments warning in booz_ins_realign_h |
Date: |
Sun, 15 Aug 2010 15:44:29 +0000 |
Revision: 5371
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5371
Author: poine
Date: 2010-08-15 15:44:29 +0000 (Sun, 15 Aug 2010)
Log Message:
-----------
removed unused arguments warning in booz_ins_realign_h
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/booz/booz2_ins.c
Modified: paparazzi3/trunk/sw/airborne/booz/booz2_ins.c
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/booz2_ins.c 2010-08-15 15:35:23 UTC
(rev 5370)
+++ paparazzi3/trunk/sw/airborne/booz/booz2_ins.c 2010-08-15 15:44:29 UTC
(rev 5371)
@@ -126,12 +126,15 @@
#endif
}
+#ifdef USE_HFF
void booz_ins_realign_h(struct FloatVect2 pos, struct FloatVect2 speed) {
-#ifdef USE_HFF
b2_hff_realign(pos, speed);
-#endif
}
+#else
+void booz_ins_realign_h(struct FloatVect2 pos __attribute__ ((unused)), struct
FloatVect2 speed __attribute__ ((unused))) {}
+#endif /* USE_HFF */
+
void booz_ins_realign_v(float z) {
#ifdef USE_VFF
b2_vff_realign(z);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5371] removed unused arguments warning in booz_ins_realign_h,
antoine drouin <=