kopia lustrzana https://github.com/Hamlib/Hamlib
rigctl.c/rotctl.c: fix closing brace placement
A closing brace was improperly placed before a pair of CPP #endif directives rather than between them. Caught by a cppcheck audit.Hamlib-3.0
rodzic
c230cad17b
commit
fafbb772c5
|
@ -430,8 +430,8 @@ int main (int argc, char *argv[])
|
||||||
free(hist_path);
|
free(hist_path);
|
||||||
hist_path = (char *)NULL;
|
hist_path = (char *)NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
rig_close(my_rig); /* close port */
|
rig_close(my_rig); /* close port */
|
||||||
rig_cleanup(my_rig); /* if you care about memory */
|
rig_cleanup(my_rig); /* if you care about memory */
|
||||||
|
|
|
@ -337,8 +337,8 @@ int main (int argc, char *argv[])
|
||||||
free(hist_path);
|
free(hist_path);
|
||||||
hist_path = (char *)NULL;
|
hist_path = (char *)NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
rot_close(my_rot); /* close port */
|
rot_close(my_rot); /* close port */
|
||||||
rot_cleanup(my_rot); /* if you care about memory */
|
rot_cleanup(my_rot); /* if you care about memory */
|
||||||
|
|
Ładowanie…
Reference in New Issue