Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7b9c5bc6
Commit
7b9c5bc6
authored
Mar 07, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync0arr.c: Fix compilation error on some systems by introducing all
variables at the start of a block.
parent
243e54a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
sync/sync0arr.c
sync/sync0arr.c
+4
-3
No files found.
sync/sync0arr.c
View file @
7b9c5bc6
...
...
@@ -896,11 +896,12 @@ sync_array_signal_object(
if
(
cell_count
==
cell_max_count
)
{
sync_cell_t
**
old_cell_ptr
=
cell_ptr
;
size_t
old_size
=
cell_max_count
*
size_t
old_size
,
new_size
;
old_size
=
cell_max_count
*
sizeof
(
sync_cell_t
*
);
cell_max_count
*=
2
;
size_t
new_size
=
cell_max_count
*
new_size
=
cell_max_count
*
sizeof
(
sync_cell_t
*
);
cell_ptr
=
malloc
(
new_size
);
...
...
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