Skip to content

Commit ebf0035

Browse files
authored
Merge pull request #7183 from hppritcha/topic/quiet_lustre
lustre: squash some compiler warnings
2 parents 75749d9 + e66a7ce commit ebf0035

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ompi/mca/fs/lustre/fs_lustre.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ mca_fs_lustre_component_file_query (ompio_file_t *fh, int *priority)
9292
if (!tmp) {
9393
/* The communicator might be NULL if we only want to delete the file */
9494
if (OMPIO_ROOT == fh->f_rank || MPI_COMM_NULL == fh->f_comm) {
95-
fh->f_fstype = mca_fs_base_get_fstype ( fh->f_filename );
95+
fh->f_fstype = mca_fs_base_get_fstype ( (char *)fh->f_filename );
9696
}
9797
if (fh->f_comm != MPI_COMM_NULL) {
9898
fh->f_comm->c_coll->coll_bcast (&(fh->f_fstype),

ompi/mca/fs/lustre/fs_lustre_file_open.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434

3535
#include <sys/ioctl.h>
3636

37-
static void *alloc_lum();
37+
static void *alloc_lum(void);
3838

39-
static void *alloc_lum()
39+
static void *alloc_lum(void)
4040
{
41-
int v1, v3, join;
41+
int v1, v3;
4242

4343
v1 = sizeof(struct lov_user_md_v1) +
4444
LOV_MAX_STRIPE_COUNT * sizeof(struct lov_user_ost_data_v1);

0 commit comments

Comments
 (0)