diff options
author | Rodolfo García Peñas <kix@kix.es> | 2012-02-27 23:43:28 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-02-27 23:43:28 +0100 |
commit | fbb09c9a61f02f5e184a0da985117f728e0b5c64 (patch) | |
tree | 53c2435ea9e3f56d597e28d90ec6581c228fce54 | |
parent | f63b384ad07396502d0cf54fa5f264a9dccc50ec (diff) | |
download | suspend-utils-fbb09c9a61f02f5e184a0da985117f728e0b5c64.tar.gz |
s2ram / s2both: Warning removed unused label
The label Checksum is only used if CONFIG_COMPRESS is set. If the
user compiles the source without this support, the Checksum label is
not called, therefore a warning is printed.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
-rw-r--r-- | load.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -312,7 +312,9 @@ static ssize_t load_buffer(struct swap_reader *handle) dst += page_size; } +#ifdef CONFIG_COMPRESS Checksum: +#endif if (verify_checksum) md5_process_block(handle->buffer, size, &handle->ctx); |