Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[sipify] fix remove value assignment in members
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
scripts/sipify.pl
|
@@ -899,7 +899,7 @@ sub detect_non_method_member{ |
|
|
}; |
|
|
|
|
|
# remove struct member assignment |
|
|
if ( $SIP_RUN != 1 && $ACCESS[$#ACCESS] == PUBLIC && $LINE =~ m/^(\s*\w+[\w<> *&:,]* \*?\w+) = [\-\w\:\.]+(\([^()]+\))?\s*;/ ){ |
|
|
if ( $SIP_RUN != 1 && $ACCESS[$#ACCESS] == PUBLIC && $LINE =~ m/^(\s*\w+[\w<> *&:,]* \*?\w+) = [\-\w\:\.]+(\([^()]*\))?\s*;/ ){ |
|
|
dbg_info("remove struct member assignment"); |
|
|
$LINE = "$1;"; |
|
|
} |
|
|