1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
Description: fix warnings from gcc that became errors
Index: libahp-gt-1.7.3/ahp_gt.c
===================================================================
--- libahp-gt-1.7.3.orig/ahp_gt.c 2025-02-26 15:00:00.000000000 +0000
+++ libahp-gt-1.7.3/ahp_gt.c 2025-03-14 12:08:46.074596543 +0000
@@ -1433,7 +1433,7 @@
int ahp_gt_get_torque(int axis)
{
if(!ahp_gt_is_detected(ahp_gt_get_current_device()))
- return;
+ return 0;
return devices[ahp_gt_get_current_device()].axis[axis].torque;
}
|