Skip to content

Commit

Permalink
Update formatting, clear some compiler warnings
Browse files Browse the repository at this point in the history
Testing against cpplint. Initial reformat done using
clang-format -i -style="{BasedOnStyle: chromium, IndentWidth: 4}" [filename]
Additional changes to appease cpplint or squash compiler warnings
done manually.
  • Loading branch information
drsteve committed Oct 4, 2024
1 parent c928ffe commit 9df14a1
Show file tree
Hide file tree
Showing 11 changed files with 5,078 additions and 4,497 deletions.
3,032 changes: 1,717 additions & 1,315 deletions libLanlGeoMag/Lgm_CTrans.c

Large diffs are not rendered by default.

1,925 changes: 1,027 additions & 898 deletions libLanlGeoMag/Lgm_DateAndTime.c

Large diffs are not rendered by default.

1,159 changes: 549 additions & 610 deletions libLanlGeoMag/Lgm_IGRF.c

Large diffs are not rendered by default.

319 changes: 191 additions & 128 deletions libLanlGeoMag/Lgm_McIlwain_L.c

Large diffs are not rendered by default.

487 changes: 254 additions & 233 deletions libLanlGeoMag/Lgm_Metadata.c

Large diffs are not rendered by default.

616 changes: 315 additions & 301 deletions libLanlGeoMag/Lgm_PolyRoots.c

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libLanlGeoMag/Lgm_QinDenton.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void Lgm_read_QinDenton( long int Date, Lgm_QinDenton *q ) {
Lgm_mjd_to_ymdh( Next_MJD, &Next_Date, &Next_Year, &Next_Month, &Next_Day, &Next_UT );


Filename = (char *)calloc( 512, sizeof(char) );
Filename = (char *)calloc(2575, sizeof(char) );
Line = (char *)calloc( 2050, sizeof(char) );
n = 0;

Expand Down
Loading

0 comments on commit 9df14a1

Please sign in to comment.