[riot-commits] [RIOT-OS/RIOT] 210324: lint: fix unassignedVariable warnings in stm32f1

Hinnerk van Bruinehsen h.v.bruinehsen at fu-berlin.de
Fri Oct 31 07:36:47 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 210324981582cacbdb72f4aa8b296353ad7dc3e7
      https://github.com/RIOT-OS/RIOT/commit/210324981582cacbdb72f4aa8b296353ad7dc3e7
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M cpu/stm32f1/periph/i2c.c
    M cpu/stm32f1/periph/spi.c
    M cpu/stm32f1/periph/timer.c
    M cpu/stm32f1/periph/uart.c

  Log Message:
  -----------
  lint: fix unassignedVariable warnings in stm32f1


  Commit: ec98c85a0590ff264293256a8d3cb7b577009f56
      https://github.com/RIOT-OS/RIOT/commit/ec98c85a0590ff264293256a8d3cb7b577009f56
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M cpu/cc430/cc110x_cc430.c
    M cpu/lpc1768/startup.c
    M sys/crypto/twofish.c

  Log Message:
  -----------
  lint: fix unusedVariable warnings

SQUASH ME: into unusedVariable (annotated)

SQUASH ME: into unusedVariable (II)

SQUASH ME: into unreadVariable (II)


  Commit: 4b68b9e5477adb62062f33812f73917299e8c1ca
      https://github.com/RIOT-OS/RIOT/commit/4b68b9e5477adb62062f33812f73917299e8c1ca
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M boards/redbee-econotag/tools/mc1322x-load.c
    M cpu/arm_common/syscalls.c
    M cpu/lpc2387/i2c/i2c.c
    M drivers/srf02/srf02-ultrasonic-sensor.c
    M drivers/srf08/srf08-ultrasonic-sensor.c

  Log Message:
  -----------
  lint: fix redundantAssignment warnings

SQUASH ME: redundantAssignment (remove FAT stuff)

SQUASH ME: into redundantAssignment unnecessary supp


  Commit: a5aeaab87b31463b8b9668b965f761258ed380c7
      https://github.com/RIOT-OS/RIOT/commit/a5aeaab87b31463b8b9668b965f761258ed380c7
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M boards/avsextrem/drivers/avsextrem-smb380.c
    M boards/redbee-econotag/tools/ftditools/bbmc.c
    M cpu/atmega2560/periph/uart.c
    M cpu/mc1322x/maca/maca.c
    M cpu/nrf51822/periph/uart.c
    M cpu/stm32f1/periph/uart.c
    M examples/rpl_udp/helper.c
    M sys/net/network_layer/sixlowpan/icmp.c
    M sys/net/network_layer/sixlowpan/ip.c
    M sys/net/transport_layer/tcp/tcp.c
    M sys/transceiver/transceiver.c

  Log Message:
  -----------
  lint: fix unreadVariable warnings


  Commit: 8723ba75683cc895ea9fc45a5274b9a98e90ec31
      https://github.com/RIOT-OS/RIOT/commit/8723ba75683cc895ea9fc45a5274b9a98e90ec31
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M sys/auto_init/auto_init.c
    M sys/net/transport_layer/tcp/tcp.c

  Log Message:
  -----------
  lint: fix variableScope warnings


  Commit: 3114f362dfdb21b996d0d4cd009704d18a258829
      https://github.com/RIOT-OS/RIOT/commit/3114f362dfdb21b996d0d4cd009704d18a258829
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M examples/riot_and_cpp/main.cpp

  Log Message:
  -----------
  lint: fix invalidPrintfArgType_sint  warning


  Commit: ff6a7febc65ada300b2d414115cabf908a5cf6c8
      https://github.com/RIOT-OS/RIOT/commit/ff6a7febc65ada300b2d414115cabf908a5cf6c8
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M sys/crypto/skipjack.c

  Log Message:
  -----------
  lint: fix uselessAssignmentPtrArg


  Commit: aca472444762ec1d1079fcb648473d41b38751c6
      https://github.com/RIOT-OS/RIOT/commit/aca472444762ec1d1079fcb648473d41b38751c6
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M cpu/stm32f1/periph/spi.c
    M sys/cbor/cbor.c
    M sys/net/ccn_lite/ccnl-core.c

  Log Message:
  -----------
  lint: fix warnings of possible nullPointer dereferences


  Commit: e3aa222d6c50a2d5e4405c93ed1f533e788fdc56
      https://github.com/RIOT-OS/RIOT/commit/e3aa222d6c50a2d5e4405c93ed1f533e788fdc56
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M cpu/samd21/periph/gpio.c
    M cpu/stm32f0/periph/timer.c
    M cpu/stm32f4/periph/pwm.c

  Log Message:
  -----------
  lint: fix nullPointer errors


  Commit: 145d345edf92ffa09be78181e589e57675b5dbb7
      https://github.com/RIOT-OS/RIOT/commit/145d345edf92ffa09be78181e589e57675b5dbb7
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M cpu/arm_common/common.s

  Log Message:
  -----------
  lint: fix syntaxError warning


  Commit: 9ba980dfd95c9dee8d0e77f91c79b43efde5633f
      https://github.com/RIOT-OS/RIOT/commit/9ba980dfd95c9dee8d0e77f91c79b43efde5633f
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M cpu/stm32f1/periph/spi.c

  Log Message:
  -----------
  cpu: stm32f1 spi: fix typos


  Commit: ce075d9cbdae5feef4804a362495512147be06c4
      https://github.com/RIOT-OS/RIOT/commit/ce075d9cbdae5feef4804a362495512147be06c4
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M sys/shell/commands/sc_rtc.c

  Log Message:
  -----------
  lint: suppress warning about obsoleteFuntionsasctime


  Commit: 75c02c937a275d80ace381f9d9c13ef0ecc52020
      https://github.com/RIOT-OS/RIOT/commit/75c02c937a275d80ace381f9d9c13ef0ecc52020
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M dist/tools/cppcheck/check.sh
    A dist/tools/cppcheck/vendor_suppressions.txt

  Log Message:
  -----------
  lint: suppress unusedStructMember in vendor files


  Commit: d1775a1ad1341e2164ca7362fc443f60ac2fba63
      https://github.com/RIOT-OS/RIOT/commit/d1775a1ad1341e2164ca7362fc443f60ac2fba63
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M sys/net/transport_layer/udp/udp.c

  Log Message:
  -----------
  lint: fix redundantCopy in udp code


  Commit: 0e065cff2c775f9ad690305eac3b51ab9a0a0a06
      https://github.com/RIOT-OS/RIOT/commit/0e065cff2c775f9ad690305eac3b51ab9a0a0a06
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M cpu/native/syscalls.c

  Log Message:
  -----------
  lint: fix va_end_missing in cpu/native/syscalls.c


  Commit: 72115d629dcf4d6abeaa3fedc51aefcfcf0b55f8
      https://github.com/RIOT-OS/RIOT/commit/72115d629dcf4d6abeaa3fedc51aefcfcf0b55f8
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M dist/tools/linux-border_router/sixlowdriver.c

  Log Message:
  -----------
  lint: fix uninitstring in sixlowdriver


  Commit: bc37cbeb5552d7bf70d1ff4e75751d623f1b5699
      https://github.com/RIOT-OS/RIOT/commit/bc37cbeb5552d7bf70d1ff4e75751d623f1b5699
  Author: Hinnerk van Bruinehsen <h.v.bruinehsen at fu-berlin.de>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M boards/avsextrem/drivers/avsextrem-smb380.c
    M boards/redbee-econotag/tools/ftditools/bbmc.c
    M boards/redbee-econotag/tools/mc1322x-load.c
    M cpu/arm_common/common.s
    M cpu/arm_common/syscalls.c
    M cpu/atmega2560/periph/uart.c
    M cpu/cc430/cc110x_cc430.c
    M cpu/lpc1768/startup.c
    M cpu/lpc2387/i2c/i2c.c
    M cpu/mc1322x/maca/maca.c
    M cpu/native/syscalls.c
    M cpu/nrf51822/periph/uart.c
    M cpu/samd21/periph/gpio.c
    M cpu/stm32f0/periph/timer.c
    M cpu/stm32f1/periph/i2c.c
    M cpu/stm32f1/periph/spi.c
    M cpu/stm32f1/periph/timer.c
    M cpu/stm32f1/periph/uart.c
    M cpu/stm32f4/periph/pwm.c
    M dist/tools/cppcheck/check.sh
    A dist/tools/cppcheck/vendor_suppressions.txt
    M dist/tools/linux-border_router/sixlowdriver.c
    M drivers/srf02/srf02-ultrasonic-sensor.c
    M drivers/srf08/srf08-ultrasonic-sensor.c
    M examples/riot_and_cpp/main.cpp
    M examples/rpl_udp/helper.c
    M sys/auto_init/auto_init.c
    M sys/cbor/cbor.c
    M sys/crypto/skipjack.c
    M sys/crypto/twofish.c
    M sys/net/ccn_lite/ccnl-core.c
    M sys/net/network_layer/sixlowpan/icmp.c
    M sys/net/network_layer/sixlowpan/ip.c
    M sys/net/transport_layer/tcp/tcp.c
    M sys/net/transport_layer/udp/udp.c
    M sys/shell/commands/sc_rtc.c
    M sys/transceiver/transceiver.c

  Log Message:
  -----------
  Merge pull request #1820 from N8Fear/cppcheck-cleanup

lint: take care of various warnings/errors issued by cppcheck


Compare: https://github.com/RIOT-OS/RIOT/compare/9ba48e409fdb...bc37cbeb5552


More information about the commits mailing list