Commit 74a636a7 authored by Marcin Wyszynski's avatar Marcin Wyszynski Committed by GitHub

Move variable declarations before actual code

parent cb81314b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment