Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
5599fb92
Commit
5599fb92
authored
May 15, 2011
by
Davis King
Browse files
Minor change to avoid a compiler warning.
parent
63dfa090
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dlib/bridge/bridge.h
dlib/bridge/bridge.h
+6
-0
No files found.
dlib/bridge/bridge.h
View file @
5599fb92
...
...
@@ -348,6 +348,9 @@ namespace dlib
sockstreambuf
::
kernel_2a
buf
(
con
);
std
::
istream
in
(
&
buf
);
typename
receive_pipe_type
::
type
item
;
// This isn't necessary but doing it avoids a warning about
// item being uninitialized sometimes.
assign_zero_if_built_in_scalar_type
(
item
);
while
(
in
.
peek
()
!=
EOF
)
{
...
...
@@ -417,6 +420,9 @@ namespace dlib
sockstreambuf
::
kernel_2a
buf
(
con
);
std
::
ostream
out
(
&
buf
);
typename
transmit_pipe_type
::
type
item
;
// This isn't necessary but doing it avoids a warning about
// item being uninitialized sometimes.
assign_zero_if_built_in_scalar_type
(
item
);
while
(
out
)
...
...
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