1
0
forked from mirror/misskey
Commit Graph

3 Commits

Author SHA1 Message Date
Acid Chicken (硫酸鶏)
fa051df381
node-gypの警告を直す (#3906)
* Update crypto_key.cc

* Update crypto_key.cc

* Update crypto_key.cc
2019-01-18 21:01:31 +09:00
Marcin Cieślak
7d881427d4 Use delete[] after new[]
gmake: Wejście do katalogu '/usr/home/saper/sw/misskey/build'
  CXX(target) Release/obj.target/crypto_key/src/crypto_key.o
../src/crypto_key.cc:25:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'?
      [-Wmismatched-new-delete]
                delete sourceBuf;
                ^
                      []
../src/crypto_key.cc:18:25: note: allocated with 'new[]' here
        const auto sourceBuf = new char[sourceLength];
                               ^
../src/crypto_key.cc:32:2: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'?
      [-Wmismatched-new-delete]
        delete sourceBuf;
        ^
              []
../src/crypto_key.cc:18:25: note: allocated with 'new[]' here
        const auto sourceBuf = new char[sourceLength];
                               ^
2 warnings generated.
2018-05-16 00:21:54 +02:00
Akihiko Odaki
001d5faac9 Add keypair to local account 2018-03-27 00:26:25 +09:00