[chronojump] Fixes warning: sessionID in Person is not used.
- From: Carles Pina i Estany <carlespina src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixes warning: sessionID in Person is not used.
- Date: Sun, 16 Oct 2016 17:13:11 +0000 (UTC)
commit db053255ab62ce80d7773bf47d877a2a4f2c0986
Author: Carles Pina i Estany <carles pina cat>
Date: Sun Oct 16 19:04:42 2016 +0200
Fixes warning: sessionID in Person is not used.
Also removes unneeded Partial definition.
src/oldCodeNeedToDBConvert/person.cs | 3 ---
src/oldCodeNeedToDBConvert/personSession.cs | 2 +-
2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/oldCodeNeedToDBConvert/person.cs b/src/oldCodeNeedToDBConvert/person.cs
index 6c78461..0d3bed7 100644
--- a/src/oldCodeNeedToDBConvert/person.cs
+++ b/src/oldCodeNeedToDBConvert/person.cs
@@ -39,8 +39,6 @@ public partial class PersonOld {
private int countryID;
private int serverUniqueID; //not on server
- private int sessionID;
-
public PersonOld() {
}
@@ -90,7 +88,6 @@ public partial class PersonOld {
this.race = race;
this.countryID = countryID;
this.serverUniqueID = serverUniqueID; //remember don't do this on server
- this.sessionID = sessionID;
//insert in the person table
//when insert as person we don't know uniqueID
diff --git a/src/oldCodeNeedToDBConvert/personSession.cs b/src/oldCodeNeedToDBConvert/personSession.cs
index a0ca2e9..05a8800 100644
--- a/src/oldCodeNeedToDBConvert/personSession.cs
+++ b/src/oldCodeNeedToDBConvert/personSession.cs
@@ -23,7 +23,7 @@ using System.Data;
using System.Text; //StringBuilder
using Mono.Unix;
-public partial class PersonSessionOld {
+public class PersonSessionOld {
private int uniqueID;
private int personID;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]