Snippets for libnova 0.16 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/fq39ilrsv18h4hcq1q8vnqqhiqakw60n-libnova-0.16.drv.
-
dynamical_time.c:128:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 128 | a = delta_t[i+1] - delta_t[i]; | ^ -
lunar.c:163:21: warning: unused variable 'W2' [-Wunused-const-variable] 163 | static const double W2[5] = | ^~ -
lunar.c:172:21: warning: unused variable 'W3' [-Wunused-const-variable] 172 | static const double W3[5] = | ^~ -
lunar.c:181:21: warning: unused variable 'earth' [-Wunused-const-variable] 181 | static const double earth[5] = | ^~~~~ -
lunar.c:190:21: warning: unused variable 'peri' [-Wunused-const-variable] 190 | static const double peri[5] = | ^~~~ -
utility.c:241:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 241 | temp = (int)(angle / 360); | ^ -
utility.c:256:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 256 | temp = (int)(angle / (M_PI * 2.0)); | ^ -
utility.c:273:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 273 | temp = (int)(angle / (M_PI * 2.0)); | ^ -
constellation.c:1573:25: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] 1573 | if((position->ra >= 0) || (position->ra < 360) || (position->dec >= -90) || (position->dec <= 90)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~