Skip to content

Commit

Permalink
* include/memjoin.inl: Fix compiler warning about variable that
Browse files Browse the repository at this point in the history
is set but never referenced when CYG_ASSERT isn't used.
  • Loading branch information
jlarmour committed Jun 16, 2012
1 parent a77af62 commit 505dfff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/services/memalloc/common/current/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2012-06-07 Bernard Fouché <[email protected]>

* include/memjoin.inl: Fix compiler warning about variable that
is set but never referenced when CYG_ASSERT isn't used.

2012-03-06 Grant Edwards <[email protected]>

* src/malloc.cxx (free):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Cyg_Mempool_Joined<T>::~Cyg_Mempool_Joined()
CYG_REPORT_FUNCTION();
CYG_REPORT_FUNCARGVOID();

cyg_bool freestat;
cyg_bool freestat CYGBLD_ATTRIB_UNUSED;

freestat = free( (cyg_uint8 *)pools, poolcount * sizeof(struct pooldesc) );
CYG_ASSERT( freestat, "free failed!");
Expand Down

0 comments on commit 505dfff

Please sign in to comment.