Skip to contentSkip to conversation

configure: Remove unused code (found by shellcheck)

PATCH Applied Stefan Weil 3 participants 4 messages Mar 28, 2017 – Sep 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: Remove unused code (found by shellcheck)

smartcard_cflags is no longer needed since commit
0b22ef0f57a8910d849602bef0940edcd0553d2c.

---

This is a very old patch which I just found in my patch queue. It's not mandatory for 2.9, but I also think that there is no risk to apply it.

Sorry for sending it so late.

Regards
Stefan

 configure | 1 -
 1 file changed, 1 deletion(-)
configure +0 -1
index d1ce33bc79..b65ea2931c 100755
@@ -4096,7 +4096,6 @@ EOF
 fi
 
 # check for smartcard support
-smartcard_cflags=""
 if test "$smartcard" != "no"; then
     if $pkg_config libcacard; then
         libcacard_cflags=$($pkg_config --cflags libcacard)
Signature · 1 line
2.11.0
#1 lore raw

It looks like this patch got lost somehow.

Stefan

See also https://patchwork.codeaurora.org/patch/210129/

Am 28.03.2017 um 20:49 schrieb Stefan Weil:

Quoted 31 lines

smartcard_cflags is no longer needed since commit
0b22ef0f57a8910d849602bef0940edcd0553d2c.

---

This is a very old patch which I just found in my patch queue. It's not mandatory for 2.9, but I also think that there is no risk to apply it.

Sorry for sending it so late.

Regards
Stefan

 configure | 1 -
 1 file changed, 1 deletion(-)
configure +0 -1
index d1ce33bc79..b65ea2931c 100755
@@ -4096,7 +4096,6 @@ EOF
 fi
 
 # check for smartcard support
-smartcard_cflags=""
 if test "$smartcard" != "no"; then
     if $pkg_config libcacard; then
         libcacard_cflags=$($pkg_config --cflags libcacard)
#2 lore raw

16.08.2017 15:57, Stefan Weil пишет:

Quoted 10 lines

It looks like this patch got lost somehow.

Stefan

See also https://patchwork.codeaurora.org/patch/210129/

Am 28.03.2017 um 20:49 schrieb Stefan Weil:

Quoted 2 lines

smartcard_cflags is no longer needed since commit
0b22ef0f57a8910d849602bef0940edcd0553d2c.

Applied to -trivial.. finally :)

Thank you!

/mjt

Reviewed-by on v1 1/1
#3 lore raw
In reply to Stefan Weil
Quoted 2 lines · Stefan Weil

smartcard_cflags is no longer needed since commit
0b22ef0f57a8910d849602bef0940edcd0553d2c.

leftover from afd347ab387

Quoted 2 lines
Quoted 27 lines

---

This is a very old patch which I just found in my patch queue. It's not mandatory for 2.9, but I also think that there is no risk to apply it.

Sorry for sending it so late.

Regards
Stefan

  configure | 1 -
  1 file changed, 1 deletion(-)
configure +0 -1
index d1ce33bc79..b65ea2931c 100755
@@ -4096,7 +4096,6 @@ EOF
  fi
 
  # check for smartcard support
-smartcard_cflags=""
  if test "$smartcard" != "no"; then
      if $pkg_config libcacard; then
          libcacard_cflags=$($pkg_config --cflags libcacard)