Navigation Menu

Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 18, 2015
1 parent d2c9697 commit 58af21d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pgroonga.c
Expand Up @@ -201,12 +201,12 @@ GrnCheck(const char *message)
static grn_builtin_type
GrnGetType(Relation index, AttrNumber n)
{
FmgrInfo *function;
TupleDesc desc = RelationGetDescr(index);
Datum type;
FmgrInfo *function;
TupleDesc desc = RelationGetDescr(index);
Datum type;

function = index_getprocinfo(index, n + 1, GrnTypeOfProc);
type = FunctionCall2(function,
type = FunctionCall2(function,
ObjectIdGetDatum(desc->attrs[n]->atttypid),
Int32GetDatum(desc->attrs[n]->atttypmod));
return (grn_builtin_type) DatumGetInt32(type);
Expand All @@ -215,7 +215,7 @@ GrnGetType(Relation index, AttrNumber n)
static void
GrnSetValue(Relation index, AttrNumber n, grn_obj *buffer, Datum value)
{
FmgrInfo *function;
FmgrInfo *function;

function = index_getprocinfo(index, n + 1, GrnSetValueProc);
FunctionCall3(function,
Expand All @@ -226,7 +226,7 @@ GrnSetValue(Relation index, AttrNumber n, grn_obj *buffer, Datum value)
static void
GrnGetValue(Relation index, AttrNumber n, Datum value, grn_obj *buffer)
{
FmgrInfo *function;
FmgrInfo *function;

function = index_getprocinfo(index, n + 1, GrnGetValueProc);
FunctionCall3(function,
Expand Down

0 comments on commit 58af21d

Please sign in to comment.