projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d545dd9
)
Fix a compiler warning about mixing of code and declarations
author
Pavan Deolasee
<
[email protected]
>
Mon, 14 Mar 2016 11:43:26 +0000
(17:13 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Mon, 14 Mar 2016 11:43:26 +0000
(17:13 +0530)
src/gtm/main/main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/gtm/main/main.c
b/src/gtm/main/main.c
index 8186770ddd8688a86af330e2ab445b029aa1958b..3f56bfd65fb6132e83dd96c98c7e4c653c1cade4 100644
(file)
--- a/
src/gtm/main/main.c
+++ b/
src/gtm/main/main.c
@@
-650,9
+650,10
@@
main(int argc, char *argv[])
}
else
{
- GTM_MutexLockAcquire(&control_lock);
GTM_RestoreContext restoreContext;
+ GTM_MutexLockAcquire(&control_lock);
+
ctlf = fopen(GTMControlFile, "r");
/*