Rhaas/unused vars

Branch: rhaas/unused_vars
Branch: master
Merged
#6 · Created  · Last updated

Merged pull request

Hydro_RNSID: do not output parfile, fileinfo or run speed in tests

  • 9537346
  • Author:
    Roland Haas
  • Closed by:
    Roland Haas
  • 2019‑01‑24
  • Hydro_RNSID: use CCTK_VERROR to report errors

  • Hydro_RNSID: remove unused variables

  • Hydro_RNSID: move strcmp out of loops

    this was an attempt to remove compiler warnings about unset vars, but the compiler is not clever enough to track the deps in:

    int var, othervar; const int cond = strcmp(s, "");

    if(cond) var = 42;

    if(cond) othervar = var;

  • Hydro_RNSID: use do..while to get rid of compiler warnings

    this also fixes a bug if anyone ever asks for an accuracy of worse than 1.0

  • Hydro_RNSID: pacify compiler about Omega_c maybe being unset

  • Hydro_RNSID: do not output parfile, fileinfo or run speed in tests

    these quantities cannot be compared between machines

The only change that should merit actual review is the do..while change

0 attachments

0 comments

Loading commits...