@@ -229,6 +229,10 @@ function xfx_test(pdg_id, x, q2, state) bind(c)
229229 real (c_double) :: xfx_test
230230 integer , pointer :: state_array(:)
231231
232+ ! ignore unused arguments
233+ associate(pdg_id = > pdg_id); end associate
234+ associate(q2 = > q2); end associate
235+
232236 call c_f_pointer(state, state_array, [2 ])
233237 xfx_test = merge (x, - x, state_array(1 ).eq. 0 )
234238 end function
@@ -243,6 +247,11 @@ function xfx1_test(pdg_id, x, q2, state) bind(c)
243247 type (c_ptr), value, intent (in ) :: state
244248 real (c_double) :: xfx1_test
245249
250+ ! ignore unused arguments
251+ associate(pdg_id = > pdg_id); end associate
252+ associate(q2 = > q2); end associate
253+ associate(state = > state); end associate
254+
246255 xfx1_test = x
247256 end function
248257
@@ -256,6 +265,11 @@ function xfx2_test(pdg_id, x, q2, state) bind(c)
256265 type (c_ptr), value, intent (in ) :: state
257266 real (c_double) :: xfx2_test
258267
268+ ! ignore unused arguments
269+ associate(pdg_id = > pdg_id); end associate
270+ associate(q2 = > q2); end associate
271+ associate(state = > state); end associate
272+
259273 xfx2_test = - x
260274 end function
261275
@@ -268,6 +282,9 @@ function alphas_test(q2, state) bind(c)
268282 type (c_ptr), value, intent (in ) :: state
269283 real (c_double) :: alphas_test
270284
285+ ! ignore unused argument
286+ associate(state = > state); end associate
287+
271288 alphas_test = q2
272289 end function
273290
0 commit comments