Avoid warnings in test malloc program

This commit is contained in:
Ulrich Drepper 2012-03-28 13:05:11 -04:00
parent d6270972f7
commit 05f3d1f6c6
2 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2012-03-28 Ulrich Drepper <drepper@gmail.com>
* malloc/mallocbug.c: Avoid warnings about unused variables.
2012-03-28 Joseph Myers <joseph@codesourcery.com>
[BZ #369]

View File

@ -5,12 +5,15 @@
#define size_t unsigned int
int
main (int argc, char *argv[])
{
/* Defined as global variables to avoid warnings about unused variables. */
char *dummy0;
char *dummy1;
char *fill_info_table1;
int
main (int argc, char *argv[])
{
char *over_top;
size_t over_top_size = 0x3000;
char *over_top_dup;