Changeset 0b5d37a in mainline


Ignore:
Timestamp:
2018-07-15T19:58:46Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0245896
Parents:
868d75c
Message:

Fix unused variable warnings in float2 test

Enable the part of the test which is uses the two variables, fixing thus
the warnings. Also, there is currently no reason for running the test
with -Wno-error, so don't do it.

Location:
uspace/app/tester
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/Makefile

    r868d75c r0b5d37a  
    3232# TODO: softfloat testing should be done via unit tests.
    3333LIBS = block softfloat drv math
    34 EXTRA_CFLAGS = -I$(LIBSOFTFLOAT_PREFIX) -Wno-error
     34EXTRA_CFLAGS = -I$(LIBSOFTFLOAT_PREFIX)
    3535
    3636BINARY = tester
  • uspace/app/tester/float/float2.c

    r868d75c r0b5d37a  
    209209{
    210210        bool fail = false;
    211 #if 0
     211
    212212        for (unsigned int i = 0; i < OPERANDS; i++) {
    213213                double res = acos(arguments_acos[i]);
     
    249249                }
    250250        }
    251 #endif
     251
    252252        for (unsigned int i = 0; i < OPERANDS; i++) {
    253253                double res = atan(arguments_atan[i]);
Note: See TracChangeset for help on using the changeset viewer.