Commit Graph

3 Commits

Author SHA1 Message Date
Acid Chicken (硫酸鶏)
e50775b31c 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
809549213e 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
bfe6fc9ebb Add keypair to local account 2018-03-27 00:26:25 +09:00