Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
2dbe0ce1
Commit
2dbe0ce1
authored
Jan 11, 2012
by
Tiago Peixoto
Browse files
Disable some compilation warnings due to unused variables
parent
a2bb7ff8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/util/graph_search.hh
View file @
2dbe0ce1
...
...
@@ -72,7 +72,7 @@ struct find_vertices
range
.
second
=
python
::
extract
<
value_type
>
(
prange
[
1
]);
#ifdef USING_OPENMP
size_t
nt
=
omp_get_num_threads
();
size_t
__attribute__
((
unused
))
nt
=
omp_get_num_threads
();
if
(
is_convertible
<
value_type
,
python
::
object
>::
value
)
nt
=
1
;
// python is not thread-safe
#endif
...
...
@@ -114,7 +114,7 @@ struct find_edges
tr1
::
unordered_set
<
size_t
>
edge_set
;
#ifdef USING_OPENMP
size_t
nt
=
omp_get_num_threads
();
size_t
__attribute__
((
unused
))
nt
=
omp_get_num_threads
();
if
(
is_convertible
<
value_type
,
python
::
object
>::
value
)
nt
=
1
;
// python is not thread-safe
#endif
...
...
Write
Preview
Supports
Markdown
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