Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1fbe7d3

Browse files
committed
PL/Perl: Avoid compiler warning from clang
Use SvREFCNT_inc_simple_void() instead of SvREFCNT_inc() to avoidwarning about unused return value.
1 parent62b9045 commit1fbe7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/pl/plperl/plperl_helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ sv2cstr(SV *sv)
6464
else
6565
/* increase the reference count so we cant just SvREFCNT_dec() it when
6666
* we are done */
67-
SvREFCNT_inc(sv);
67+
SvREFCNT_inc_simple_void(sv);
6868

6969
val=SvPVutf8(sv,len);
7070

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp