Skip to content

Commit

Permalink
feat: Cleaning up compiler version checks, compiler warning disable code
Browse files Browse the repository at this point in the history
Cleaning up how compiler version detection is done to make code easier to read.
Also cleaning up how warnings are disabled and restored with macros to help make code more readable as well.

Signed-off-by: Tyler Erickson <tyler.erickson@seagate.com>
  • Loading branch information
vonericsen committed Nov 21, 2024
1 parent 15249be commit db58c4f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/openseachest_util_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ const char* deviceHandleExample = "vmhba<#>";
const char* deviceHandleName = "<deviceHandle>";
const char* commandWindowType = "terminal";
# else
const char* deviceHandleExample = "/dev/sg<#>";
const char* deviceHandleName = "<sg_device>";
const char* commandWindowType = "terminal";
const char* deviceHandleExample = "/dev/sg<#>";
const char* deviceHandleName = "<sg_device>";
const char* commandWindowType = "terminal";
# endif
#elif defined(__FreeBSD__)
const char* deviceHandleExample = "/dev/da<#>";
Expand Down
2 changes: 1 addition & 1 deletion subprojects/opensea-operations
2 changes: 1 addition & 1 deletion subprojects/opensea-transport

0 comments on commit db58c4f

Please sign in to comment.