silence compiler warnings
This commit is contained in:
@ -1443,7 +1443,7 @@ CONTAINS
|
|||||||
IF (SIZE_TAGINT == 8) THEN
|
IF (SIZE_TAGINT == 8) THEN
|
||||||
Cptr = C_LOC(id)
|
Cptr = C_LOC(id)
|
||||||
ELSE
|
ELSE
|
||||||
id32 = id
|
id32 = INT(id, c_int)
|
||||||
Cptr = C_LOC(id32)
|
Cptr = C_LOC(id32)
|
||||||
END IF
|
END IF
|
||||||
lmp_map_atom_big = lammps_map_atom(self%handle, Cptr) + 1
|
lmp_map_atom_big = lammps_map_atom(self%handle, Cptr) + 1
|
||||||
@ -2604,6 +2604,8 @@ CONTAINS
|
|||||||
TYPE(c_ptr) :: Cid, Ctype, Cx, Cv, Cimage
|
TYPE(c_ptr) :: Cid, Ctype, Cx, Cv, Cimage
|
||||||
INTEGER(c_int) :: tagint_size, atoms_created
|
INTEGER(c_int) :: tagint_size, atoms_created
|
||||||
|
|
||||||
|
Ctype = c_null_ptr
|
||||||
|
Cx = c_null_ptr
|
||||||
! type is actually NOT optional, but we can't make id optional without it,
|
! type is actually NOT optional, but we can't make id optional without it,
|
||||||
! so we check at run-time
|
! so we check at run-time
|
||||||
IF (.NOT. PRESENT(type)) THEN
|
IF (.NOT. PRESENT(type)) THEN
|
||||||
|
|||||||
Reference in New Issue
Block a user