Skip to content

Commit

Permalink
fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sdobbs committed Sep 4, 2024
1 parent 2921119 commit a98f9cb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/libraries/include/GlueX.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,11 @@ inline const char* SystemName(DetectorSystem_t sys)
case SYS_CCAL_REF:
return "CCAL_REF";
break;
case SYS_RF:
return "RF";
case SYS_ECAL:
return "ECAL";
break;
case SYS_ECAL_REF:
return "ECAL_REF";
break;
case SYS_PS:
return "PS";
Expand Down Expand Up @@ -160,6 +163,10 @@ inline DetectorSystem_t NameToSystem(const char* locSystemName)
return SYS_TRD;
else if(strcmp(locSystemName, "CTOF") == 0)
return SYS_CTOF;
else if(strcmp(locSystemName, "ECAL") == 0)
return SYS_ECAL;
else if(strcmp(locSystemName, "ECAL_REF") == 0)
return SYS_ECAL_REF;
else
return SYS_NULL;
}
Expand Down

0 comments on commit a98f9cb

Please sign in to comment.