Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
74a636a7
Commit
74a636a7
authored
Nov 14, 2016
by
Marcin Wyszynski
Committed by
GitHub
Nov 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move variable declarations before actual code
parent
cb81314b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
message.c
ruby/ext/google/protobuf_c/message.c
+2
-2
No files found.
ruby/ext/google/protobuf_c/message.c
View file @
74a636a7
...
...
@@ -342,11 +342,11 @@ VALUE Message_deep_copy(VALUE _self) {
* field is of a primitive type).
*/
VALUE
Message_eq
(
VALUE
_self
,
VALUE
_other
)
{
MessageHeader
*
self
;
MessageHeader
*
other
;
if
(
TYPE
(
_self
)
!=
TYPE
(
_other
))
{
return
Qfalse
;
}
MessageHeader
*
self
;
MessageHeader
*
other
;
TypedData_Get_Struct
(
_self
,
MessageHeader
,
&
Message_type
,
self
);
TypedData_Get_Struct
(
_other
,
MessageHeader
,
&
Message_type
,
other
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment