Skip to content

Commit

Permalink
Cleans up a const warning left over from previous constification (#633)
Browse files Browse the repository at this point in the history
* Committing clang-format changes

* Adds consts to a few global variables

* Cleans up a const warning left over from previous constification

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
derobins and github-actions[bot] authored May 7, 2021
1 parent 6955329 commit 1e572b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/H5Clog.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ typedef struct H5C_log_class_t {

/* Logging information */
struct H5C_log_info_t {
hbool_t enabled; /* Was the logging set up? */
hbool_t logging; /* Are we currently logging? */
H5C_log_class_t *cls; /* Callbacks for writing log messages */
void * udata; /* Log-specific data */
hbool_t enabled; /* Was the logging set up? */
hbool_t logging; /* Are we currently logging? */
const H5C_log_class_t *cls; /* Callbacks for writing log messages */
void * udata; /* Log-specific data */
};

/*****************************/
Expand Down

0 comments on commit 1e572b1

Please sign in to comment.